Skip to content

Commit

Permalink
V1.4.4-17:fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhen40 committed Aug 3, 2021
1 parent 96d26df commit e5cc278
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
5 changes: 2 additions & 3 deletions soap/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'kotlin-android'

group='com.github.peterzhen40'

Expand All @@ -10,8 +9,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 22
versionCode 16
versionName "1.4.3"
versionCode 17
versionName "1.4.4"
}
buildTypes {
release {
Expand Down
16 changes: 8 additions & 8 deletions soap/src/main/java/com/zyy/soap/Soap.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ public Object invoke(Object proxy, final Method method, final Object... args)
return callFactory.convert(createObservable(service, method, baseUrl, args));
} else if (responseClass == Flowable.class) {
return callFactory.convert(createFloawable(service, method, baseUrl, args));
} else if (responseClass == String.class) {
ISoapRequest mSoapRequest = AnnonationsUtil.
transformInvokeToRequest(service, method, args, baseUrl);
return RxService.call(
mSoapRequest.getNameSpace(),
mSoapRequest.getEndPoint(),
mSoapRequest.getMethodName(),
mSoapRequest.getParams(), isNewSoap, timeout, isHttps);
//} else if (responseClass == String.class) {
// ISoapRequest mSoapRequest = AnnonationsUtil.
// transformInvokeToRequest(service, method, args, baseUrl);
// return RxService.call(
// mSoapRequest.getNameSpace(),
// mSoapRequest.getEndPoint(),
// mSoapRequest.getMethodName(),
// mSoapRequest.getParams(), isNewSoap, timeout, isHttps);
} else {
//object, 返回string
return newStringCall(service, method, baseUrl, args);
Expand Down

0 comments on commit e5cc278

Please sign in to comment.