Compare commits
No commits in common. 'main' and 'webservice' have entirely different histories.
main
...
webservice
@ -0,0 +1,12 @@
|
||||
/.gradle/
|
||||
/.idea/
|
||||
/buildSrc/
|
||||
/devLib/
|
||||
/gradle/
|
||||
/secDevLib/
|
||||
/secondev-demo-test/
|
||||
/secondev-history-action/build/
|
||||
/gradlew
|
||||
/gradlew.bat
|
||||
/README.md
|
||||
/settings.gradle
|
@ -0,0 +1,91 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'com.weaver.ecode.gradle.plugin.BuildArchPlugin'
|
||||
}
|
||||
|
||||
group 'com.weaver.secondev'
|
||||
version '1.0.0'
|
||||
description ''
|
||||
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
// maven { url 'https://maven.aliyun.com/repository/public/' } // 可以连互联网 可放开此行注释
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
def ignoredProjectNames = []
|
||||
|
||||
|
||||
configure(allprojects) { project ->
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'com.weaver.ecode.gradle.plugin.BuildArchPlugin'
|
||||
|
||||
compileJava {
|
||||
options.encoding = 'UTF-8'
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
jar {
|
||||
from sourceSets.main.allJava
|
||||
manifest {
|
||||
attributes 'weaver-ecode-seconddev-id': rootProject.group + '-' + rootProject.name,
|
||||
'Implementation-Version': rootProject.version,
|
||||
'Implementation-Vendor-Id': rootProject.group,
|
||||
'Implementation-Title': rootProject.name
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main{
|
||||
java {
|
||||
//只打包一下目录
|
||||
include 'com/weaver/**'
|
||||
|
||||
// //排除一下目录
|
||||
// exclude 'com/weaver/seconddev/action/**'
|
||||
// exclude 'com/weaver/seconddev/cache/**'
|
||||
// exclude 'com/weaver/seconddev/controller/**'
|
||||
// exclude 'com/weaver/seconddev/dao/**'
|
||||
// exclude 'com/weaver/seconddev/demo/**'
|
||||
// exclude 'com/weaver/seconddev/entity/**'
|
||||
// exclude 'com/weaver/seconddev/escheduler/**'
|
||||
// exclude 'com/weaver/seconddev/mq/**'
|
||||
// exclude 'com/weaver/seconddev/prop/**'
|
||||
// exclude 'com/weaver/seconddev/secdev/**'
|
||||
// exclude 'com/weaver/seconddev/service/**'
|
||||
// exclude 'com/weaver/seconddev/sync/**'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!ignoredProjectNames.contains(project.name)) {
|
||||
dependencies {
|
||||
// implementation group: 'junit', name: 'junit', version: '4.12'
|
||||
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.20'
|
||||
annotationProcessor 'org.projectlombok:lombok:1.18.20'
|
||||
// implementation group: 'javax.servlet', name: 'javax.servlet-api', version: '4.0.1'
|
||||
|
||||
// 添加二开服务拉取的清单依赖
|
||||
def includeType = ['**/*.jar', '**/*.class']
|
||||
//服务器class文件依赖
|
||||
implementation files(rootProject.projectDir.getPath() + '/secDevClasses')
|
||||
//服务器jar包依赖
|
||||
implementation fileTree(dir: rootProject.projectDir.getPath() + '/secDevLib', includes: includeType)
|
||||
// 项目二开自定义依赖
|
||||
implementation fileTree(dir: rootProject.projectDir.getPath() + "/devLib", includes: includeType)
|
||||
|
||||
implementation 'javax.servlet:jstl:1.2'
|
||||
implementation 'org.apache.taglibs:taglibs-standard-spec:1.2.5'
|
||||
implementation 'org.apache.taglibs:taglibs-standard-impl:1.2.5'
|
||||
compileOnly group: 'javax.servlet', name: 'javax.servlet-api', version: '4.0.1'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,8 @@
|
||||
plugins{
|
||||
id 'war'
|
||||
}
|
||||
description = ""
|
||||
|
||||
dependencies {
|
||||
// 子项目私有依赖添加
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-MesInterfaceAddr.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class MesInterfaceAddrConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-remindforweixin.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class RemindforweixinConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htcmsoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htcmsoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htcrmoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htcrmoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htctripmt.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htctripmtConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-hteasoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class hteasoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htecmoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htecmoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htemail.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htemailConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htfkxtoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htfkxtoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htk3oasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htk3oasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htmesoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htmesoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htpmoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htpmoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htportaloaUrl.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htportaloaUrlConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htsapoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htsapoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htscfoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htscfoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htsloasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htsloasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htsrmoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htsrmoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htsysjcmt.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htsysjcmtConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htwmsoasync.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htwmsoasyncConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.weaver.custom.configcenter;
|
||||
|
||||
import com.weaver.framework.client.annotation.WeaverConfigCenter;
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Data
|
||||
@Component
|
||||
@WeaverConfigCenter(sources = {
|
||||
@WeaverConfigCenter.ConfigProperty(
|
||||
dataId = "weaver-secondev-htxzsetting.properties",
|
||||
group = "DEFAULT_GROUP",
|
||||
refresh = "true")
|
||||
})
|
||||
public class htxzsettingConfig {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
package com.weaver.seconddev.interfaces.crmoa;
|
||||
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import com.weaver.seconddev.interfaces.crmoa.CRM_SyncTempUnfreezeStub.*;
|
||||
import org.apache.axis2.transport.http.impl.httpclient4.HttpTransportPropertiesImpl;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class CRM_SyncTempUnfreeze extends BaseBean {
|
||||
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
|
||||
private static final org.slf4j.Logger logger_8493e3b4 = LoggerFactory.getLogger(CRM_SyncTempUnfreeze.class);
|
||||
|
||||
public CRM_TEMPUNFREEZE_RETURN[] call(CRM_TEMPUNFREEZE_HEAD[] param) throws Exception {
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htcrmoasync.TempUnfreeze")).trim();
|
||||
logger_8493e3b4.info(" param ---" + param);
|
||||
String url = configProp.getTempUnfreeze();
|
||||
//http://sappod.hengtong.com:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_OA&receiverParty=&receiverService=&interface=SI_HTCRMBlistTempLifting_OUT&interfaceNamespace=http%3A%2F%2Fhengtong.com%2FOA%2FHTCRMBlistTempLifting
|
||||
//http://10.6.6.77:8070/CRM_SyncTempUnfreeze.asmx
|
||||
logger_8493e3b4.info(" url ---" + url);
|
||||
logger_8493e3b4.info(" configProp.getPo_user() ---" + configProp.getPo_user());
|
||||
logger_8493e3b4.info(" configProp.getPo_password() ---" + configProp.getPo_password());
|
||||
|
||||
|
||||
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
|
||||
auth.setUsername(configProp.getPo_user());
|
||||
auth.setPassword(configProp.getPo_password());
|
||||
|
||||
|
||||
|
||||
CRM_SyncTempUnfreezeStub stub=new CRM_SyncTempUnfreezeStub(url);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
|
||||
|
||||
CRM_SyncTempUnfreezeStub.CRM_OA_SyncTempUnfreezeList req = new CRM_SyncTempUnfreezeStub.CRM_OA_SyncTempUnfreezeList();
|
||||
CRM_SyncTempUnfreezeStub.ArrayOfCRM_TEMPUNFREEZE_HEAD arrayOfCRMTempunfreezeHead = new CRM_SyncTempUnfreezeStub.ArrayOfCRM_TEMPUNFREEZE_HEAD();
|
||||
arrayOfCRMTempunfreezeHead.setCRM_TEMPUNFREEZE_HEAD(param);
|
||||
req.setTempUnfreezeList(arrayOfCRMTempunfreezeHead);
|
||||
CRM_SyncTempUnfreezeStub.CRM_OA_SyncTempUnfreezeListResponse CRM_OA_SyncTempUnfreezeListResponse = stub.cRM_OA_SyncTempUnfreezeList(req);
|
||||
CRM_SyncTempUnfreezeStub.ArrayOfCRM_TEMPUNFREEZE_RETURN crmOaSyncTempUnfreezeListResult = CRM_OA_SyncTempUnfreezeListResponse.getCRM_OA_SyncTempUnfreezeListResult();
|
||||
CRM_SyncTempUnfreezeStub.CRM_TEMPUNFREEZE_RETURN[] crmTempunfreezeReturn = crmOaSyncTempUnfreezeListResult.getCRM_TEMPUNFREEZE_RETURN();
|
||||
return crmTempunfreezeReturn;
|
||||
|
||||
|
||||
// SI_HTCRMBlistTempLifting_OUTServiceStub stub = new SI_HTCRMBlistTempLifting_OUTServiceStub(url);
|
||||
// stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
|
||||
// stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
// HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
|
||||
//
|
||||
// stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
|
||||
//// auth.setUsername(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_user")).trim());
|
||||
//// auth.setPassword(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_password")).trim());
|
||||
// auth.setUsername(configProp.getPo_user());
|
||||
// auth.setPassword(configProp.getPo_password());
|
||||
//
|
||||
// CRM_OA_SyncTempUnfreezeList req = new CRM_OA_SyncTempUnfreezeList();
|
||||
// ArrayOfCRM_TEMPUNFREEZE_HEAD array = new ArrayOfCRM_TEMPUNFREEZE_HEAD();
|
||||
// array.setCRM_TEMPUNFREEZE_HEAD(param);
|
||||
// req.setTempUnfreezeList(array);
|
||||
//
|
||||
// CRM_OA_SyncTempUnfreezeListResponse res = stub.sI_HTCRMBlistTempLifting_OUT(req);
|
||||
// ArrayOfCRM_TEMPUNFREEZE_RETURN ret = res.getCRM_OA_SyncTempUnfreezeListResult();
|
||||
// CRM_TEMPUNFREEZE_RETURN[] data = ret.getCRM_TEMPUNFREEZE_RETURN();
|
||||
// return data;
|
||||
}
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
/**
|
||||
* CRM_SyncTempUnfreezeCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.crmoa;
|
||||
|
||||
/**
|
||||
* CRM_SyncTempUnfreezeCallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class CRM_SyncTempUnfreezeCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public CRM_SyncTempUnfreezeCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public CRM_SyncTempUnfreezeCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for cRM_OA_SyncTempUnfreezeList method override this
|
||||
* method for handling normal response from cRM_OA_SyncTempUnfreezeList operation
|
||||
*/
|
||||
public void receiveResultcRM_OA_SyncTempUnfreezeList(
|
||||
CRM_SyncTempUnfreezeStub
|
||||
.CRM_OA_SyncTempUnfreezeListResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* cRM_OA_SyncTempUnfreezeList operation
|
||||
*/
|
||||
public void receiveErrorcRM_OA_SyncTempUnfreezeList(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
||||
/**
|
||||
* CRM_SyncUnFreezeTimesCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.crmoa;
|
||||
|
||||
/**
|
||||
* CRM_SyncUnFreezeTimesCallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class CRM_SyncUnFreezeTimesCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public CRM_SyncUnFreezeTimesCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public CRM_SyncUnFreezeTimesCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for cRM_OA_SyncUnFreezeTimes method override this method
|
||||
* for handling normal response from cRM_OA_SyncUnFreezeTimes operation
|
||||
*/
|
||||
public void receiveResultcRM_OA_SyncUnFreezeTimes(
|
||||
CRM_SyncUnFreezeTimesStub
|
||||
.CRM_OA_SyncUnFreezeTimesResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* cRM_OA_SyncUnFreezeTimes operation
|
||||
*/
|
||||
public void receiveErrorcRM_OA_SyncUnFreezeTimes(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,67 @@
|
||||
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
// Source File Name: ZOA_MM_AFNAM_SYNC.java
|
||||
package com.weaver.seconddev.interfaces.crmoa;
|
||||
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import org.apache.axis2.AxisFault;
|
||||
import java.rmi.RemoteException;
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class CRM_syncUnFreezeTimes extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_38dddf66 = LoggerFactory.getLogger(CRM_syncUnFreezeTimes.class);
|
||||
|
||||
private CRM_SyncUnFreezeTimesStub.CRM_OA_SyncUnFreezeTimes time;
|
||||
|
||||
public CRM_syncUnFreezeTimes() {
|
||||
time = null;
|
||||
}
|
||||
|
||||
public void setOainputvendor(CRM_SyncUnFreezeTimesStub.CRM_OA_SyncUnFreezeTimes times) {
|
||||
time = times;
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ConfigProp configProp; //注入
|
||||
|
||||
public String[] call() throws RemoteException {
|
||||
String[] as = new String[3];
|
||||
try {
|
||||
BaseBean basebean = new BaseBean();
|
||||
logger_38dddf66.info(String.valueOf("------- do webservice CRM_syncUnFreezeTimes start -------"));
|
||||
CRM_SyncUnFreezeTimesStub stub = null;
|
||||
// String s2= "http://10.6.6.77:8070/CRM_SyncUnFreezeTimes.asmx";
|
||||
// String s2 = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htcrmoasync.times")).trim();
|
||||
String s2 = configProp.getHtcrmoasync_times(); //http://10.6.6.77:8070/CRM_SyncTempUnfreeze.asmx?wsdl
|
||||
|
||||
stub = new CRM_SyncUnFreezeTimesStub(s2);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
// 设置超时时间
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(120000);
|
||||
CRM_SyncUnFreezeTimesStub.CRM_OA_SyncUnFreezeTimesResponse response = stub.cRM_OA_SyncUnFreezeTimes(time);
|
||||
CRM_SyncUnFreezeTimesStub.ArrayOfCRM_UNFREEZETIMES_RETURN crm_return_list = response.getCRM_OA_SyncUnFreezeTimesResult();
|
||||
CRM_SyncUnFreezeTimesStub.CRM_UNFREEZETIMES_RETURN[] returnArray = crm_return_list.getCRM_UNFREEZETIMES_RETURN();
|
||||
for (CRM_SyncUnFreezeTimesStub.CRM_UNFREEZETIMES_RETURN returnStr : returnArray) {
|
||||
as[0] = returnStr.getISTAT();
|
||||
as[1] = returnStr.getMESSAGE();
|
||||
}
|
||||
logger_38dddf66.info(String.valueOf("------- do webservice CRM_syncUnFreezeTimes END -------"));
|
||||
} catch (AxisFault e) {
|
||||
e.printStackTrace();
|
||||
} catch (RemoteException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return as;
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import org.apache.axis2.transport.http.HttpTransportProperties;
|
||||
import java.rmi.RemoteException;
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import org.apache.axis2.transport.http.impl.httpclient4.HttpTransportPropertiesImpl;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.file.Prop;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class CallTravelApplyService {
|
||||
|
||||
private static final org.slf4j.Logger logger_ec0d40fa = LoggerFactory.getLogger(CallTravelApplyService.class);
|
||||
|
||||
private SI_BusinessTripApplicationSync_OUTServiceStub.SyncTravelApplyService input = null;
|
||||
|
||||
public void setInput(SI_BusinessTripApplicationSync_OUTServiceStub.SyncTravelApplyService resultIn) {
|
||||
this.input = resultIn;
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ConfigProp configProp; //注入
|
||||
|
||||
public String[] call() throws RemoteException {
|
||||
String[] result = new String[5];
|
||||
// String url = "http://10.6.2.35:7001/easws/services/syncTravelApplyService?wsdl";
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("hteasoasync.TravelApply")).trim();
|
||||
String url =configProp.getTravelApply();
|
||||
// String url = "http://sappod.hengtong.com:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_OA&receiverParty=&receiverService=&interface=SI_BusinessTripApplicationSync_OUT&interfaceNamespace=http://hengtong.com/OA/BusinessTripApplicationSync";
|
||||
SI_BusinessTripApplicationSync_OUTServiceStub stub = new SI_BusinessTripApplicationSync_OUTServiceStub(url);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
|
||||
auth.setUsername("pouser");
|
||||
auth.setPassword("654321");
|
||||
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
|
||||
SI_BusinessTripApplicationSync_OUTServiceStub.SyncTravelApplyServiceResponse response = stub.sI_BusinessTripApplicationSync_OUT(input);
|
||||
SI_BusinessTripApplicationSync_OUTServiceStub.ResultInfo resultInfo = response.get_return();
|
||||
SI_BusinessTripApplicationSync_OUTServiceStub.SyncTravelApplyReturn[] Infos = resultInfo.getReturnInfos();
|
||||
result[0] = resultInfo.getISTAT();
|
||||
result[1] = resultInfo.getMESSAGE();
|
||||
result[2] = resultInfo.getITFID();
|
||||
result[3] = resultInfo.getSENDID();
|
||||
result[4] = resultInfo.getSYSID();
|
||||
return result;
|
||||
}
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
import com.weaver.seconddev.interfaces.easoa.DelayDateSyncServiceStub.DelayDateSyncService;
|
||||
import com.weaver.seconddev.interfaces.easoa.DelayDateSyncServiceStub.DelayDateSyncServiceResponse;
|
||||
import com.weaver.seconddev.interfaces.easoa.DelayDateSyncServiceStub.SyncDelayDateInfo;
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class DelayDateService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_cf6b843f = LoggerFactory.getLogger(DelayDateService.class);
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
public String[] callService(SyncDelayDateInfo param) {
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("hteasoasync.DelayDateSync")).trim();
|
||||
String url = configProp.getDelayDateSync();
|
||||
logger_cf6b843f.info("url = " + url );
|
||||
String[] str = new String[2];
|
||||
try {
|
||||
logger_cf6b843f.info(String.valueOf("DelayDateService--start"));
|
||||
DelayDateSyncServiceStub stub = new DelayDateSyncServiceStub(url);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
DelayDateSyncService req = new DelayDateSyncService();
|
||||
req.setSyncDelayDateInfo(param);
|
||||
DelayDateSyncServiceResponse res = stub.delayDateSyncService(req);
|
||||
logger_cf6b843f.info(String.valueOf("res"));
|
||||
DelayDateSyncServiceStub.ResultInfo resultInfo = res.get_return();
|
||||
str[0] = resultInfo.getIstat();
|
||||
str[1] = resultInfo.getSrmsage();
|
||||
logger_cf6b843f.info(String.valueOf("DelayDateService--end--" + str[0] + "|" + str[1]));
|
||||
} catch (Exception e) {
|
||||
str[0] = "E";
|
||||
str[1] = e.toString();
|
||||
logger_cf6b843f.info(String.valueOf("DelayDateService--error:" + e.toString()));
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
/**
|
||||
* DelayDateSyncServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
/**
|
||||
* DelayDateSyncServiceCallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class DelayDateSyncServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public DelayDateSyncServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public DelayDateSyncServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for delayDateSyncService method override this method for
|
||||
* handling normal response from delayDateSyncService operation
|
||||
*/
|
||||
public void receiveResultdelayDateSyncService(
|
||||
com.weaver.seconddev.interfaces.easoa.DelayDateSyncServiceStub.DelayDateSyncServiceResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* delayDateSyncService operation
|
||||
*/
|
||||
public void receiveErrordelayDateSyncService(java.lang.Exception e) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for getpayControlBusiness method override this method for
|
||||
* handling normal response from getpayControlBusiness operation
|
||||
*/
|
||||
public void receiveResultgetpayControlBusiness(
|
||||
com.weaver.seconddev.interfaces.easoa.DelayDateSyncServiceStub.GetpayControlBusinessResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* getpayControlBusiness operation
|
||||
*/
|
||||
public void receiveErrorgetpayControlBusiness(java.lang.Exception e) {}
|
||||
|
||||
// No methods generated for meps other than in-out
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for delayDateSyncService method override this method for
|
||||
* handling normal response from delayDateSyncService operation
|
||||
*/
|
||||
public void receiveResultdelayDateSyncService() {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* delayDateSyncService operation
|
||||
*/
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,68 @@
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import org.apache.axis2.transport.http.HttpTransportProperties;
|
||||
import com.weaver.seconddev.interfaces.easoa.SI_FiAgncyAssetApplicationSync_OUTServiceStub.*;
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import org.apache.axis2.transport.http.impl.httpclient4.HttpTransportPropertiesImpl;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class EASIntermediarySyncService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_cd0192cf = LoggerFactory.getLogger(EASIntermediarySyncService.class);
|
||||
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
public String[] call(IntermediaryApplication info) {
|
||||
String[] str = new String[2];
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("hteasoasync.intermediarysync")).trim();
|
||||
String url =configProp.getIntermediarysync();
|
||||
try {
|
||||
logger_cd0192cf.info(String.valueOf("调用报账系统中介同步接口开始 --- " + url ));
|
||||
SI_FiAgncyAssetApplicationSync_OUTServiceStub stub = new SI_FiAgncyAssetApplicationSync_OUTServiceStub(url);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
// HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
|
||||
//// auth.setUsername(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_user")).trim());
|
||||
//// auth.setPassword(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_password")).trim());
|
||||
// auth.setUsername(configProp.getPo_user());
|
||||
// auth.setPassword(configProp.getPo_password());
|
||||
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
|
||||
auth.setUsername(configProp.getPo_user());
|
||||
auth.setPassword(configProp.getPo_password());
|
||||
// stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
|
||||
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
|
||||
IntermediaryService req = new IntermediaryService();
|
||||
IntermediaryApplicationSynchronization param = new IntermediaryApplicationSynchronization();
|
||||
IntermediaryApplication[] arr = new IntermediaryApplication[1];
|
||||
arr[0] = info;
|
||||
param.setITFID("HT01BZ025");
|
||||
param.setSENDID("");
|
||||
param.setSYSID("SYS006");
|
||||
param.setIntermediaryApplication(arr);
|
||||
req.setIntermediaryApplicationSynchronization(param);
|
||||
IntermediaryServiceResponse res = stub.sI_FiAgncyAssetApplicationSync_OUT(req);
|
||||
str[0] = res.get_return().getISTAT();
|
||||
if ("1".equals(str[0])) {
|
||||
str[1] = res.get_return().getMESSAGE();
|
||||
} else {
|
||||
ResultInfoLines[] lines = res.get_return().getResultInfoLinesArr();
|
||||
str[1] = lines[0].getMESSAGE();
|
||||
}
|
||||
logger_cd0192cf.info(String.valueOf("调用报账系统中介同步接口结束"));
|
||||
} catch (Exception e) {
|
||||
str[0] = "0";
|
||||
str[1] = e.toString();
|
||||
logger_cd0192cf.info(String.valueOf("调用报账系统中介同步接口出错:" + e.toString()));
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import org.apache.axis2.transport.http.HttpTransportProperties;
|
||||
import com.weaver.seconddev.interfaces.easoa.SI_FeeApplicationSync_OUTServiceStub.CostStandardHead;
|
||||
import com.weaver.seconddev.interfaces.easoa.SI_FeeApplicationSync_OUTServiceStub.CostStandardSynchronization;
|
||||
import com.weaver.seconddev.interfaces.easoa.SI_FeeApplicationSync_OUTServiceStub.CostStandardSynchronizationService;
|
||||
import com.weaver.seconddev.interfaces.easoa.SI_FeeApplicationSync_OUTServiceStub.CostStandardSynchronizationServiceResponse;
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import org.apache.axis2.transport.http.impl.httpclient4.HttpTransportPropertiesImpl;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class FeeApplicationService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_2817d3b0 = LoggerFactory.getLogger(FeeApplicationService.class);
|
||||
@Autowired
|
||||
private ConfigProp configProp; //注入
|
||||
public CostStandardSynchronizationServiceResponse call(CostStandardHead param) throws Exception {
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("hteasoasync.FeeApplication")).trim();
|
||||
String url = configProp.getFeeApplication();
|
||||
logger_2817d3b0.info(String.valueOf("调用报账系统话费交通费接口开始"+ url));
|
||||
SI_FeeApplicationSync_OUTServiceStub stub = new SI_FeeApplicationSync_OUTServiceStub(url);
|
||||
// stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
// HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
|
||||
//// auth.setUsername(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_user")).trim());
|
||||
//// auth.setPassword(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_password")).trim());
|
||||
// auth.setUsername(configProp.getPo_user());
|
||||
// auth.setPassword(configProp.getPo_password());
|
||||
|
||||
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
|
||||
auth.setUsername(configProp.getPo_user());
|
||||
auth.setPassword(configProp.getPo_password());
|
||||
logger_2817d3b0.info(String.valueOf("getPo_user" + configProp.getPo_user()));
|
||||
logger_2817d3b0.info(String.valueOf("getPo_password" + configProp.getPo_password()));
|
||||
// stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
|
||||
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
|
||||
CostStandardSynchronizationService req = new CostStandardSynchronizationService();
|
||||
CostStandardSynchronization info = new CostStandardSynchronization();
|
||||
CostStandardHead[] arr = new CostStandardHead[1];
|
||||
arr[0] = param;
|
||||
info.setITFID("HT01BZ024");
|
||||
info.setSENDID("");
|
||||
info.setSYSID("SYS006");
|
||||
info.setCostStandardHead(arr);
|
||||
req.setCostStandardSynchronization(info);
|
||||
CostStandardSynchronizationServiceResponse res = stub.sI_FeeApplicationSync_OUT(req);
|
||||
logger_2817d3b0.info(String.valueOf("调用报账系统话费交通费接口接口结束" + res));
|
||||
return res;
|
||||
}
|
||||
}
|
@ -0,0 +1,135 @@
|
||||
/**
|
||||
* PayControlServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
/**
|
||||
* PayControlServiceCallbackHandler Callback class, Users can extend this class and implement their
|
||||
* own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class PayControlServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public PayControlServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public PayControlServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for queryPayControlStatus method override this method for
|
||||
* handling normal response from queryPayControlStatus operation
|
||||
*/
|
||||
public void receiveResultqueryPayControlStatus(
|
||||
PayControlServiceStub.QueryPayControlStatusResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* queryPayControlStatus operation
|
||||
*/
|
||||
public void receiveErrorqueryPayControlStatus(Exception e) {}
|
||||
|
||||
// No methods generated for meps other than in-out
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for getpayControlBusiness method override this method for
|
||||
* handling normal response from getpayControlBusiness operation
|
||||
*/
|
||||
public void receiveResultgetpayControlBusiness(
|
||||
PayControlServiceStub.GetpayControlBusinessResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* getpayControlBusiness operation
|
||||
*/
|
||||
public void receiveErrorgetpayControlBusiness(Exception e) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for queryVendorInfoList method override this method for
|
||||
* handling normal response from queryVendorInfoList operation
|
||||
*/
|
||||
public void receiveResultqueryVendorInfoList(
|
||||
PayControlServiceStub.QueryVendorInfoListResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* queryVendorInfoList operation
|
||||
*/
|
||||
public void receiveErrorqueryVendorInfoList(Exception e) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for doPayControl method override this method for handling
|
||||
* normal response from doPayControl operation
|
||||
*/
|
||||
public void receiveResultdoPayControl(
|
||||
PayControlServiceStub.DoPayControlResponse result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* doPayControl operation
|
||||
*/
|
||||
public void receiveErrordoPayControl(Exception e) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for queryOnlineCompanyList method override this method
|
||||
* for handling normal response from queryOnlineCompanyList operation
|
||||
*/
|
||||
public void receiveResultqueryOnlineCompanyList(
|
||||
PayControlServiceStub.QueryOnlineCompanyListResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* queryOnlineCompanyList operation
|
||||
*/
|
||||
public void receiveErrorqueryOnlineCompanyList(Exception e) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for checkData method override this method for handling
|
||||
* normal response from checkData operation
|
||||
*/
|
||||
public void receiveResultcheckData(
|
||||
PayControlServiceStub.CheckDataResponse result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* checkData operation
|
||||
*/
|
||||
public void receiveErrorcheckData(Exception e) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for querySourceBoeNum method override this method for
|
||||
* handling normal response from querySourceBoeNum operation
|
||||
*/
|
||||
public void receiveResultquerySourceBoeNum(
|
||||
PayControlServiceStub.QuerySourceBoeNumResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* querySourceBoeNum operation
|
||||
*/
|
||||
public void receiveErrorquerySourceBoeNum(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
||||
/**
|
||||
* SI_BusinessTripApplicationSync_OUTServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
/**
|
||||
* SI_BusinessTripApplicationSync_OUTServiceCallbackHandler Callback class, Users can extend this
|
||||
* class and implement their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SI_BusinessTripApplicationSync_OUTServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SI_BusinessTripApplicationSync_OUTServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SI_BusinessTripApplicationSync_OUTServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for sI_BusinessTripApplicationSync_OUT method override
|
||||
* this method for handling normal response from sI_BusinessTripApplicationSync_OUT operation
|
||||
*/
|
||||
public void receiveResultsI_BusinessTripApplicationSync_OUT(
|
||||
SI_BusinessTripApplicationSync_OUTServiceStub
|
||||
.SyncTravelApplyServiceResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* sI_BusinessTripApplicationSync_OUT operation
|
||||
*/
|
||||
public void receiveErrorsI_BusinessTripApplicationSync_OUT(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
||||
/**
|
||||
* SI_FeeApplicationSync_OUTServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
/**
|
||||
* SI_FeeApplicationSync_OUTServiceCallbackHandler Callback class, Users can extend this class and
|
||||
* implement their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SI_FeeApplicationSync_OUTServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SI_FeeApplicationSync_OUTServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SI_FeeApplicationSync_OUTServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for sI_FeeApplicationSync_OUT method override this method
|
||||
* for handling normal response from sI_FeeApplicationSync_OUT operation
|
||||
*/
|
||||
public void receiveResultsI_FeeApplicationSync_OUT(
|
||||
com.weaver.seconddev.interfaces.easoa.SI_FeeApplicationSync_OUTServiceStub
|
||||
.CostStandardSynchronizationServiceResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* sI_FeeApplicationSync_OUT operation
|
||||
*/
|
||||
public void receiveErrorsI_FeeApplicationSync_OUT(java.lang.Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
||||
/**
|
||||
* SI_FiAgncyAssetApplicationSync_OUTServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
/**
|
||||
* SI_FiAgncyAssetApplicationSync_OUTServiceCallbackHandler Callback class, Users can extend this
|
||||
* class and implement their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SI_FiAgncyAssetApplicationSync_OUTServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SI_FiAgncyAssetApplicationSync_OUTServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SI_FiAgncyAssetApplicationSync_OUTServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for sI_FiAgncyAssetApplicationSync_OUT method override
|
||||
* this method for handling normal response from sI_FiAgncyAssetApplicationSync_OUT operation
|
||||
*/
|
||||
public void receiveResultsI_FiAgncyAssetApplicationSync_OUT(
|
||||
com.weaver.seconddev.interfaces.easoa.SI_FiAgncyAssetApplicationSync_OUTServiceStub
|
||||
.IntermediaryServiceResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* sI_FiAgncyAssetApplicationSync_OUT operation
|
||||
*/
|
||||
public void receiveErrorsI_FiAgncyAssetApplicationSync_OUT(java.lang.Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
||||
/**
|
||||
* SI_WhitelistSync_OUTServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
/**
|
||||
* SI_WhitelistSync_OUTServiceCallbackHandler Callback class, Users can extend this class and
|
||||
* implement their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SI_WhitelistSync_OUTServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SI_WhitelistSync_OUTServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SI_WhitelistSync_OUTServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for sI_WhitelistSync_OUT method override this method for
|
||||
* handling normal response from sI_WhitelistSync_OUT operation
|
||||
*/
|
||||
public void receiveResultsI_WhitelistSync_OUT(
|
||||
SI_WhitelistSync_OUTServiceStub
|
||||
.SyncWhiteListServiceResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* sI_WhitelistSync_OUT operation
|
||||
*/
|
||||
public void receiveErrorsI_WhitelistSync_OUT(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,67 @@
|
||||
/**
|
||||
* SieOaVoucherServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.easoa;
|
||||
|
||||
/**
|
||||
* SieOaVoucherServiceCallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SieOaVoucherServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SieOaVoucherServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SieOaVoucherServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for getBoeBusiness method override this method for
|
||||
* handling normal response from getBoeBusiness operation
|
||||
*/
|
||||
public void receiveResultgetBoeBusiness(
|
||||
SieOaVoucherServiceStub.GetBoeBusinessResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* getBoeBusiness operation
|
||||
*/
|
||||
public void receiveErrorgetBoeBusiness(Exception e) {}
|
||||
|
||||
// No methods generated for meps other than in-out
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for sieOaVoucherService method override this method for
|
||||
* handling normal response from sieOaVoucherService operation
|
||||
*/
|
||||
public void receiveResultsieOaVoucherService(
|
||||
SieOaVoucherServiceStub.SieOaVoucherServiceResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* sieOaVoucherService operation
|
||||
*/
|
||||
public void receiveErrorsieOaVoucherService(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,62 @@
|
||||
package com.weaver.seconddev.interfaces.eipoa;
|
||||
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import com.weaver.seconddev.interfaces.eipoa.SI_HTPortalUAMGMT2_OUTServiceStub.UserSyncInfo;
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.apache.axis2.transport.http.HttpTransportProperties;
|
||||
import org.apache.axis2.transport.http.impl.httpclient4.HttpTransportPropertiesImpl;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class AccountService extends BaseBean {
|
||||
|
||||
private static final Logger logger_18cc50ce = LoggerFactory.getLogger(AccountService.class);
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
public String[] account(String sendid, UserSyncInfo[] arr) {
|
||||
String[] array = new String[2];
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.accountUrl")).trim();
|
||||
String url = configProp.getAccountUrl();
|
||||
|
||||
logger_18cc50ce.info("url == " + url);
|
||||
try {
|
||||
logger_18cc50ce.info(String.valueOf("开始调用批量开户销户接口"));
|
||||
SI_HTPortalUAMGMT2_OUTServiceStub stub = new SI_HTPortalUAMGMT2_OUTServiceStub(url);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
// HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
|
||||
// auth.setUsername(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_user")).trim());
|
||||
// auth.setPassword(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_password")).trim());
|
||||
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
|
||||
auth.setUsername(configProp.getPo_user());
|
||||
auth.setPassword(configProp.getPo_password());
|
||||
|
||||
logger_18cc50ce.info("sendid == " + sendid);
|
||||
logger_18cc50ce.info("getPo_user == " + configProp.getPo_user());
|
||||
|
||||
logger_18cc50ce.info("getPo_password == " + configProp.getPo_password());
|
||||
|
||||
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
|
||||
SI_HTPortalUAMGMT2_OUTServiceStub.UserAccount request = new SI_HTPortalUAMGMT2_OUTServiceStub.UserAccount();
|
||||
request.setSendid(sendid);
|
||||
request.setUser(arr);
|
||||
logger_18cc50ce.info(String.valueOf(" start stub"));
|
||||
|
||||
SI_HTPortalUAMGMT2_OUTServiceStub.UserAccountResponse response = stub.sI_HTPortalUAMGMT2_OUT(request);
|
||||
array[0] = "S";
|
||||
array[1] = response.getUserAccountReturn();
|
||||
logger_18cc50ce.info(String.valueOf("调用批量开户销户接口成功"));
|
||||
} catch (Exception e) {
|
||||
logger_18cc50ce.info("调用批量开户销户接口失败:" , e);
|
||||
array[0] = "E";
|
||||
array[1] = e.toString();
|
||||
}
|
||||
return array;
|
||||
}
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package com.weaver.seconddev.interfaces.eipoa;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.apache.http.HttpResponse;
|
||||
import org.apache.http.client.HttpClient;
|
||||
import org.apache.http.client.methods.HttpPost;
|
||||
import org.apache.http.entity.StringEntity;
|
||||
import org.apache.http.protocol.HTTP;
|
||||
import org.apache.http.util.EntityUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class DidiApprovalOperate extends BaseBean {
|
||||
|
||||
private static final Logger logger_d3de7351 = LoggerFactory.getLogger(DidiApprovalOperate.class);
|
||||
|
||||
public String operteAppr(JSONObject object, String type) {
|
||||
HttpPost post = null;
|
||||
String result = "E";
|
||||
try {
|
||||
logger_d3de7351.info(String.valueOf("开始调用滴滴接口"));
|
||||
HttpClient client = new SSLClient();
|
||||
String url = Util.null2String(getPropValue("htportaloaUrl", type)).trim();
|
||||
post = new HttpPost(url);
|
||||
post.setHeader(HTTP.CONTENT_TYPE, "application/json; charset=UTF-8");
|
||||
post.setHeader("Accept", "application/json; charset=UTF-8");
|
||||
logger_d3de7351.info("object"+object.toString());
|
||||
StringEntity entity = new StringEntity(object.toString(), "UTF-8");
|
||||
entity.setContentType("application/json");
|
||||
post.setEntity(entity);
|
||||
HttpResponse response = client.execute(post);
|
||||
int rspCode = response.getStatusLine().getStatusCode();
|
||||
logger_d3de7351.info(String.valueOf("DidiApprovalOperate-rspCode:" + rspCode));
|
||||
if (rspCode == 200) {
|
||||
result = EntityUtils.toString(response.getEntity(), "UTF-8");
|
||||
}
|
||||
logger_d3de7351.info(String.valueOf(rspCode));
|
||||
logger_d3de7351.info(String.valueOf("调用滴滴接口结束"));
|
||||
} catch (Exception e) {
|
||||
logger_d3de7351.info(String.valueOf("调用门户滴滴接口出错" + e.toString()));
|
||||
} finally {
|
||||
if (post != null) {
|
||||
post.releaseConnection();
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.weaver.seconddev.interfaces.eipoa;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.apache.http.HttpResponse;
|
||||
import org.apache.http.client.HttpClient;
|
||||
import org.apache.http.client.methods.HttpPost;
|
||||
import org.apache.http.entity.StringEntity;
|
||||
import org.apache.http.impl.client.DefaultHttpClient;
|
||||
import org.apache.http.protocol.HTTP;
|
||||
import org.apache.http.util.EntityUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class GetSystemList extends BaseBean {
|
||||
|
||||
private static final Logger logger_a4ce8d9d = LoggerFactory.getLogger(GetSystemList.class);
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
public String getList(String uid) {
|
||||
HttpPost post = null;
|
||||
String result = "E";
|
||||
try {
|
||||
HttpClient client = new DefaultHttpClient();
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.getSystemListUrl")).trim();
|
||||
String url =configProp.getGetSystemListUrl();
|
||||
logger_a4ce8d9d.info(String.valueOf("GetSystemList start uid == " + uid));
|
||||
logger_a4ce8d9d.info(String.valueOf("GetSystemList url == " + url));
|
||||
logger_a4ce8d9d.info(String.valueOf("GetSystemList getUrl_password == " + configProp.getUrl_password()));
|
||||
post = new HttpPost(url);
|
||||
post.setHeader(HTTP.CONTENT_TYPE, "application/json; charset=UTF-8");
|
||||
post.setHeader("Accept", "application/json; charset=UTF-8");
|
||||
// post.setHeader("Authorization", Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.url_password")).trim());
|
||||
post.setHeader("Authorization", configProp.getUrl_password());
|
||||
JSONObject returnJson = new JSONObject();
|
||||
returnJson.put("doAction", "listSystem");
|
||||
returnJson.put("uid", uid);
|
||||
logger_a4ce8d9d.info(String.valueOf("GetSystemList returnJson == " + returnJson));
|
||||
StringEntity entity = new StringEntity(returnJson.toString(), "UTF-8");
|
||||
post.setEntity(entity);
|
||||
HttpResponse response = client.execute(post);
|
||||
int rspCode = response.getStatusLine().getStatusCode();
|
||||
if (rspCode == 200) {
|
||||
result = EntityUtils.toString(response.getEntity(), "UTF-8");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger_a4ce8d9d.info(String.valueOf("调用门户查询已开户系统接口出错" + e.toString()));
|
||||
} finally {
|
||||
if (post != null) {
|
||||
post.releaseConnection();
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
package com.weaver.seconddev.interfaces.eipoa;
|
||||
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import com.weaver.seconddev.interfaces.eipoa.SI_HTPortalPlan_OUTServiceStub.*;
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.apache.axis2.transport.http.HttpTransportProperties;
|
||||
import org.apache.axis2.transport.http.impl.httpclient4.HttpTransportPropertiesImpl;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class PortalPlanService extends BaseBean {
|
||||
|
||||
private static final Logger logger_c9c5c87a = LoggerFactory.getLogger(PortalPlanService.class);
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
public String[] insertPlan(InsertPlan insertData) {
|
||||
String[] insertReturn = new String[2];
|
||||
try {
|
||||
InsertPlanResponse insertRes = getStub().cREATE(insertData);
|
||||
insertReturn[0] = "S";
|
||||
insertReturn[1] = insertRes.getInsertPlanReturn();
|
||||
} catch (Exception e) {
|
||||
logger_c9c5c87a.info(String.valueOf("往门户推送待办出错:" + e.toString()));
|
||||
insertReturn[0] = "E";
|
||||
insertReturn[1] = e.toString();
|
||||
}
|
||||
return insertReturn;
|
||||
}
|
||||
|
||||
public String[] updatePlan(UpdatePlan updateData) {
|
||||
String[] updateReturn = new String[2];
|
||||
try {
|
||||
UpdatePlanResponse updateRes = getStub().uPDATE(updateData);
|
||||
updateReturn[0] = "S";
|
||||
updateReturn[1] = updateRes.getUpdatePlanReturn();
|
||||
} catch (Exception e) {
|
||||
logger_c9c5c87a.info(String.valueOf("往门户更新待办状态出错:" + e.toString()));
|
||||
updateReturn[0] = "E";
|
||||
updateReturn[1] = e.toString();
|
||||
}
|
||||
return updateReturn;
|
||||
}
|
||||
|
||||
public String[] editPlan(EditPlan editData) {
|
||||
String[] editreturn = new String[2];
|
||||
try {
|
||||
EditPlanResponse editRes = getStub().eDIT(editData);
|
||||
editreturn[0] = "S";
|
||||
editreturn[1] = editRes.getEditPlanReturn();
|
||||
} catch (Exception e) {
|
||||
logger_c9c5c87a.info(String.valueOf("往门户更新待办内容出错:" + e.toString()));
|
||||
editreturn[0] = "E";
|
||||
editreturn[1] = e.toString();
|
||||
}
|
||||
return editreturn;
|
||||
}
|
||||
|
||||
public SI_HTPortalPlan_OUTServiceStub getStub() throws Exception {
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.plan_url")).trim();
|
||||
String url = configProp.getPlan_url();
|
||||
SI_HTPortalPlan_OUTServiceStub stub = new SI_HTPortalPlan_OUTServiceStub(url);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
// HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
|
||||
// auth.setUsername(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_user")).trim());
|
||||
// auth.setPassword(Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htportaloaUrl.po_password")).trim());
|
||||
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
|
||||
auth.setUsername(configProp.getPo_user());
|
||||
|
||||
auth.setPassword(configProp.getPo_password());
|
||||
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
|
||||
return stub;
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
/**
|
||||
* SI_HTPortalFuncSync_OUTServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.eipoa;
|
||||
|
||||
/**
|
||||
* SI_HTPortalFuncSync_OUTServiceCallbackHandler Callback class, Users can extend this class and
|
||||
* implement their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SI_HTPortalFuncSync_OUTServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SI_HTPortalFuncSync_OUTServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SI_HTPortalFuncSync_OUTServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for sI_HTPortalFuncSync_OUT method override this method
|
||||
* for handling normal response from sI_HTPortalFuncSync_OUT operation
|
||||
*/
|
||||
public void receiveResultsI_HTPortalFuncSync_OUT(
|
||||
SI_HTPortalFuncSync_OUTServiceStub.UserOaAccountResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* sI_HTPortalFuncSync_OUT operation
|
||||
*/
|
||||
public void receiveErrorsI_HTPortalFuncSync_OUT(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,79 @@
|
||||
/**
|
||||
* SI_HTPortalPlan_OUTServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.eipoa;
|
||||
|
||||
/**
|
||||
* SI_HTPortalPlan_OUTServiceCallbackHandler Callback class, Users can extend this class and
|
||||
* implement their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SI_HTPortalPlan_OUTServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SI_HTPortalPlan_OUTServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SI_HTPortalPlan_OUTServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for uPDATE method override this method for handling
|
||||
* normal response from uPDATE operation
|
||||
*/
|
||||
public void receiveResultuPDATE(
|
||||
SI_HTPortalPlan_OUTServiceStub.UpdatePlanResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from uPDATE
|
||||
* operation
|
||||
*/
|
||||
public void receiveErroruPDATE(Exception e) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for eDIT method override this method for handling normal
|
||||
* response from eDIT operation
|
||||
*/
|
||||
public void receiveResulteDIT(
|
||||
SI_HTPortalPlan_OUTServiceStub.EditPlanResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from eDIT
|
||||
* operation
|
||||
*/
|
||||
public void receiveErroreDIT(Exception e) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for cREATE method override this method for handling
|
||||
* normal response from cREATE operation
|
||||
*/
|
||||
public void receiveResultcREATE(
|
||||
SI_HTPortalPlan_OUTServiceStub.InsertPlanResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from cREATE
|
||||
* operation
|
||||
*/
|
||||
public void receiveErrorcREATE(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,51 @@
|
||||
/**
|
||||
* SI_HTPortalUAMGMT2_OUTServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.eipoa;
|
||||
|
||||
/**
|
||||
* SI_HTPortalUAMGMT2_OUTServiceCallbackHandler Callback class, Users can extend this class and
|
||||
* implement their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SI_HTPortalUAMGMT2_OUTServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SI_HTPortalUAMGMT2_OUTServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SI_HTPortalUAMGMT2_OUTServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for sI_HTPortalUAMGMT2_OUT method override this method
|
||||
* for handling normal response from sI_HTPortalUAMGMT2_OUT operation
|
||||
*/
|
||||
public void receiveResultsI_HTPortalUAMGMT2_OUT(
|
||||
SI_HTPortalUAMGMT2_OUTServiceStub.UserAccountResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* sI_HTPortalUAMGMT2_OUT operation
|
||||
*/
|
||||
public void receiveErrorsI_HTPortalUAMGMT2_OUT(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,45 @@
|
||||
package com.weaver.seconddev.interfaces.eipoa;
|
||||
|
||||
import org.apache.http.conn.ClientConnectionManager;
|
||||
import org.apache.http.conn.scheme.Scheme;
|
||||
import org.apache.http.conn.scheme.SchemeRegistry;
|
||||
import org.apache.http.conn.ssl.SSLSocketFactory;
|
||||
import org.apache.http.impl.client.DefaultHttpClient;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.TrustManager;
|
||||
import javax.net.ssl.X509TrustManager;
|
||||
import java.security.cert.CertificateException;
|
||||
import java.security.cert.X509Certificate;
|
||||
|
||||
public class SSLClient extends DefaultHttpClient {
|
||||
|
||||
private static final Logger logger_f024fc31 = LoggerFactory.getLogger(SSLClient.class);
|
||||
|
||||
public SSLClient() throws Exception {
|
||||
super();
|
||||
SSLContext ctx = SSLContext.getInstance("TLS");
|
||||
X509TrustManager tm = new X509TrustManager() {
|
||||
|
||||
@Override
|
||||
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
|
||||
}
|
||||
|
||||
@Override
|
||||
public X509Certificate[] getAcceptedIssuers() {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
ctx.init(null, new TrustManager[] { tm }, null);
|
||||
SSLSocketFactory ssf = new SSLSocketFactory(ctx, SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
|
||||
ClientConnectionManager ccm = this.getConnectionManager();
|
||||
SchemeRegistry sr = ccm.getSchemeRegistry();
|
||||
sr.register(new Scheme("https", 443, ssf));
|
||||
}
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package com.weaver.seconddev.interfaces.gdwmsoa;
|
||||
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class ZMES_OA_SUBMIT_SERVICE extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_b6665baf = LoggerFactory.getLogger(ZMES_OA_SUBMIT_SERVICE.class);
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
public String[] call(ZMES_OA_SUBMIT_SERVICEStub.ArrayOfZMES_OA_SUBMIT_ITEM_TYPE param, String requestid, String cfxt) {
|
||||
String[] str = new String[2];
|
||||
try {
|
||||
String url = "";
|
||||
if ("1".equals(cfxt)) {
|
||||
// url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htwmsoasync.wllynmg_url")).trim();
|
||||
url = configProp.getWllynmg_url();
|
||||
} else {
|
||||
// url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htwmsoasync.wlly_url")).trim();
|
||||
url = configProp.getWlly_url();
|
||||
}
|
||||
logger_b6665baf.info(String.valueOf(requestid + " url:" + url));
|
||||
ZMES_OA_SUBMIT_SERVICEStub stub = new ZMES_OA_SUBMIT_SERVICEStub(url);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
ZMES_OA_SUBMIT_SERVICEStub.ZMES_OA_SUBMIT req = new ZMES_OA_SUBMIT_SERVICEStub.ZMES_OA_SUBMIT();
|
||||
ZMES_OA_SUBMIT_SERVICEStub.ZMES_OA_SUBMIT_HEADER_TYPE header = new ZMES_OA_SUBMIT_SERVICEStub.ZMES_OA_SUBMIT_HEADER_TYPE();
|
||||
header.setITFID("");
|
||||
header.setSENDID("");
|
||||
header.setSYSID("SYS013");
|
||||
header.setDATAS(param);
|
||||
req.setHeader(header);
|
||||
ZMES_OA_SUBMIT_SERVICEStub.ZMES_OA_SUBMITResponse res = stub.zMES_OA_SUBMIT(req);
|
||||
ZMES_OA_SUBMIT_SERVICEStub.ZMES_OA_SUBMIT_RETURN_TYPE returntype = res.getZMES_OA_SUBMITResult();
|
||||
ZMES_OA_SUBMIT_SERVICEStub.ArrayOfZMES_OA_SUBMIT_RETURNITEM_TYPE ret = returntype.getRETURN();
|
||||
ZMES_OA_SUBMIT_SERVICEStub.ZMES_OA_SUBMIT_RETURNITEM_TYPE[] result = ret.getZMES_OA_SUBMIT_RETURNITEM_TYPE();
|
||||
if (result.length > 0) {
|
||||
str[0] = result[0].getIstat();
|
||||
str[1] = result[0].getMessage();
|
||||
logger_b6665baf.info(String.valueOf(requestid + "调用光导物料领用返回审批结果接口返回值:" + str[0] + "-" + str[1]));
|
||||
} else {
|
||||
str[0] = "E";
|
||||
str[1] = "调用光导物料领用返回审批结果接口出错,请联系管理员。";
|
||||
logger_b6665baf.info(String.valueOf(requestid + "调用光导物料领用返回审批结果接口出错,请联系管理员。"));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
str[0] = "E";
|
||||
str[1] = e.toString();
|
||||
logger_b6665baf.info(String.valueOf(e));
|
||||
logger_b6665baf.info(String.valueOf(requestid + "调用光导物料领用返回审批结果接口出错:" + e.toString()));
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
/**
|
||||
* ZMES_OA_SUBMIT_SERVICECallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.gdwmsoa;
|
||||
|
||||
/**
|
||||
* ZMES_OA_SUBMIT_SERVICECallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class ZMES_OA_SUBMIT_SERVICECallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public ZMES_OA_SUBMIT_SERVICECallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public ZMES_OA_SUBMIT_SERVICECallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for zMES_OA_SUBMIT method override this method for
|
||||
* handling normal response from zMES_OA_SUBMIT operation
|
||||
*/
|
||||
public void receiveResultzMES_OA_SUBMIT(
|
||||
ZMES_OA_SUBMIT_SERVICEStub.ZMES_OA_SUBMITResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* zMES_OA_SUBMIT operation
|
||||
*/
|
||||
public void receiveErrorzMES_OA_SUBMIT(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,31 @@
|
||||
package com.weaver.seconddev.interfaces.htjt.util;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* ClassName TrustAllTrustManager
|
||||
* Author
|
||||
* Date 2023/8/15 13:13
|
||||
* Description TrustAllTrustManager
|
||||
* Version 1.0
|
||||
*/
|
||||
public class TrustAllTrustManager implements javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager {
|
||||
|
||||
private static final org.slf4j.Logger logger_dd78b88 = LoggerFactory.getLogger(TrustAllTrustManager.class);
|
||||
|
||||
@Override
|
||||
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType) throws java.security.cert.CertificateException {
|
||||
return;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType) throws java.security.cert.CertificateException {
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,431 @@
|
||||
package com.weaver.seconddev.interfaces.htjt.util;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import okhttp3.*;
|
||||
import org.apache.axis.encoding.Base64;
|
||||
import javax.net.ssl.*;
|
||||
import java.io.*;
|
||||
import java.net.ConnectException;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
|
||||
public class WebApi {
|
||||
|
||||
private static final org.slf4j.Logger logger_728f7230 = LoggerFactory.getLogger(WebApi.class);
|
||||
|
||||
public static String postConnection(String url, String param, String type) throws Exception {
|
||||
PrintWriter printWriter = null;
|
||||
BufferedReader bufferedReader = null;
|
||||
HttpURLConnection httpURLConnection = null;
|
||||
StringBuffer responseResult = new StringBuffer();
|
||||
try {
|
||||
URL realUrl = new URL(url);
|
||||
// 打开和URL之间的连接
|
||||
httpURLConnection = (HttpURLConnection) realUrl.openConnection();
|
||||
httpURLConnection.setConnectTimeout(30000);
|
||||
httpURLConnection.setReadTimeout(30000);
|
||||
// 设置通用的请求属性
|
||||
httpURLConnection.setRequestProperty("accept", "*/*");
|
||||
httpURLConnection.setRequestProperty("connection", "Keep-Alive");
|
||||
httpURLConnection.setRequestProperty("Content-Length", String.valueOf(param.length()));
|
||||
httpURLConnection.setRequestProperty("Charset", "UTF-8");
|
||||
httpURLConnection.setRequestProperty("Content-type", "application/json;charset=UTF-8");
|
||||
// httpURLConnection.setRequestProperty("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)");
|
||||
// 发送POST请求必须设置如下两行
|
||||
httpURLConnection.setDoOutput(true);
|
||||
httpURLConnection.setDoInput(true);
|
||||
httpURLConnection.setRequestMethod(type);
|
||||
// 获取URLConnection对象对应的输出流
|
||||
// printWriter = new PrintWriter(httpURLConnection.getOutputStream());
|
||||
if ("POST".equals(type)) {
|
||||
DataOutputStream out = new DataOutputStream(httpURLConnection.getOutputStream());
|
||||
out.write(param.toString().getBytes("UTF-8"));
|
||||
// 发送请求参数
|
||||
// printWriter.write(new String(param.toString().getBytes(), "UTF-8"));
|
||||
// flush输出流的缓冲
|
||||
out.flush();
|
||||
out.close();
|
||||
}
|
||||
// 根据ResponseCode判断连接是否成功
|
||||
int responseCode = httpURLConnection.getResponseCode();
|
||||
// System.out.println("responseCode:"+responseCode);
|
||||
if (responseCode == httpURLConnection.HTTP_OK) {
|
||||
// 定义BufferedReader输入流来读取URL的ResponseData
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getInputStream(), "UTF-8"));
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
responseResult.append(line);
|
||||
}
|
||||
return responseResult.toString();
|
||||
} else {
|
||||
if (httpURLConnection != null && httpURLConnection.getErrorStream() != null) {
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getErrorStream(), "UTF-8"));
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
responseResult.append(line);
|
||||
}
|
||||
logger_728f7230.info(String.valueOf("apierror:" + responseResult.toString()));
|
||||
}
|
||||
}
|
||||
return null;
|
||||
} catch (ConnectException e) {
|
||||
throw new Exception(e);
|
||||
} catch (MalformedURLException e) {
|
||||
throw new Exception(e);
|
||||
} catch (IOException e) {
|
||||
throw new Exception(e);
|
||||
} catch (Exception e) {
|
||||
throw new Exception(e);
|
||||
} finally {
|
||||
httpURLConnection.disconnect();
|
||||
try {
|
||||
if (printWriter != null) {
|
||||
printWriter.close();
|
||||
}
|
||||
if (bufferedReader != null) {
|
||||
bufferedReader.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String postConnectionFormData(String url, String type, Map<String, String> datamap) throws Exception {
|
||||
OkHttpClient client = new OkHttpClient().newBuilder().build();
|
||||
MediaType mediaType = MediaType.parse("text/plain");
|
||||
MultipartBody.Builder builder = new MultipartBody.Builder().setType(MultipartBody.FORM);
|
||||
Iterator it = datamap.keySet().iterator();
|
||||
while (it.hasNext()) {
|
||||
String key = (String) it.next();
|
||||
String value = datamap.get(key);
|
||||
builder.addFormDataPart(key, value);
|
||||
}
|
||||
RequestBody body = builder.build();
|
||||
Request request = new Request.Builder().url(url).method(type, body).build();
|
||||
try {
|
||||
Response response = client.newCall(request).execute();
|
||||
String result = response.body().string();
|
||||
return result;
|
||||
} catch (IOException e) {
|
||||
logger_728f7230.info(String.valueOf("apierror:" + e.getMessage()));
|
||||
logger_728f7230.info(String.valueOf(e));
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
public static String postConnectionSSL(String url, String param, String type) throws Exception {
|
||||
PrintWriter printWriter = null;
|
||||
BufferedReader bufferedReader = null;
|
||||
HttpsURLConnection httpURLConnection = null;
|
||||
StringBuffer responseResult = new StringBuffer();
|
||||
try {
|
||||
HostnameVerifier hv = new HostnameVerifier() {
|
||||
|
||||
@Override
|
||||
public boolean verify(String urlHostName, SSLSession session) {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
TrustManager[] trustAllCerts = { new TrustAllTrustManager() };
|
||||
SSLContext sc = SSLContext.getInstance("SSL");
|
||||
SSLSessionContext sslsc = sc.getServerSessionContext();
|
||||
sslsc.setSessionTimeout(0);
|
||||
sc.init(null, trustAllCerts, null);
|
||||
HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
|
||||
URL realUrl = new URL(url);
|
||||
String soapActionString = "PostMidStoreOut";
|
||||
// 激活主机认证
|
||||
HttpsURLConnection.setDefaultHostnameVerifier(hv);
|
||||
// 打开和URL之间的连接
|
||||
httpURLConnection = (HttpsURLConnection) realUrl.openConnection();
|
||||
httpURLConnection.setConnectTimeout(30000);
|
||||
httpURLConnection.setReadTimeout(30000);
|
||||
// 设置通用的请求属性
|
||||
httpURLConnection.setRequestProperty("accept", "*/*");
|
||||
httpURLConnection.setRequestProperty("connection", "Keep-Alive");
|
||||
httpURLConnection.setRequestProperty("Content-Length", String.valueOf(param.length()));
|
||||
httpURLConnection.setRequestProperty("Charset", "UTF-8");
|
||||
httpURLConnection.setRequestProperty("Content-type", "application/json;charset=UTF-8");
|
||||
// httpURLConnection.setRequestProperty("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)");
|
||||
// 发送POST请求必须设置如下两行
|
||||
httpURLConnection.setDoOutput(true);
|
||||
httpURLConnection.setDoInput(true);
|
||||
httpURLConnection.setRequestMethod(type);
|
||||
// 获取URLConnection对象对应的输出流
|
||||
// printWriter = new PrintWriter(httpURLConnection.getOutputStream());
|
||||
if ("POST".equals(type)) {
|
||||
DataOutputStream out = new DataOutputStream(httpURLConnection.getOutputStream());
|
||||
out.write(param.toString().getBytes("UTF-8"));
|
||||
// 发送请求参数
|
||||
// printWriter.write(new String(param.toString().getBytes(), "UTF-8"));
|
||||
// flush输出流的缓冲
|
||||
out.flush();
|
||||
out.close();
|
||||
}
|
||||
// 根据ResponseCode判断连接是否成功
|
||||
int responseCode = httpURLConnection.getResponseCode();
|
||||
// System.out.println("responseCode:"+responseCode);
|
||||
if (responseCode == httpURLConnection.HTTP_OK) {
|
||||
// 定义BufferedReader输入流来读取URL的ResponseData
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getInputStream(), "UTF-8"));
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
responseResult.append(line);
|
||||
}
|
||||
return responseResult.toString();
|
||||
} else {
|
||||
if (httpURLConnection != null && httpURLConnection.getErrorStream() != null) {
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getErrorStream(), "UTF-8"));
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
responseResult.append(line);
|
||||
}
|
||||
logger_728f7230.info(String.valueOf("apierror:" + responseResult.toString()));
|
||||
}
|
||||
}
|
||||
return null;
|
||||
} catch (ConnectException e) {
|
||||
throw new Exception(e);
|
||||
} catch (MalformedURLException e) {
|
||||
throw new Exception(e);
|
||||
} catch (IOException e) {
|
||||
throw new Exception(e);
|
||||
} catch (Exception e) {
|
||||
throw new Exception(e);
|
||||
} finally {
|
||||
httpURLConnection.disconnect();
|
||||
try {
|
||||
if (printWriter != null) {
|
||||
printWriter.close();
|
||||
}
|
||||
if (bufferedReader != null) {
|
||||
bufferedReader.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String postConnectionByBasicAuth(String url, String param, String type, String username, String password) throws Exception {
|
||||
PrintWriter printWriter = null;
|
||||
BufferedReader bufferedReader = null;
|
||||
HttpURLConnection httpURLConnection = null;
|
||||
StringBuffer responseResult = new StringBuffer();
|
||||
String token = Base64.encode((username + ":" + password).getBytes());
|
||||
try {
|
||||
URL realUrl = new URL(url);
|
||||
// 打开和URL之间的连接
|
||||
httpURLConnection = (HttpURLConnection) realUrl.openConnection();
|
||||
httpURLConnection.setConnectTimeout(30000);
|
||||
httpURLConnection.setReadTimeout(30000);
|
||||
// 设置通用的请求属性
|
||||
httpURLConnection.setRequestProperty("Authorization", "Basic " + token);
|
||||
httpURLConnection.setRequestProperty("accept", "*/*");
|
||||
httpURLConnection.setRequestProperty("connection", "Keep-Alive");
|
||||
httpURLConnection.setRequestProperty("Content-Length", String.valueOf(param.length()));
|
||||
httpURLConnection.setRequestProperty("Charset", "UTF-8");
|
||||
httpURLConnection.setRequestProperty("Content-type", "application/json;charset=UTF-8");
|
||||
// 发送POST请求必须设置如下两行
|
||||
httpURLConnection.setDoOutput(true);
|
||||
httpURLConnection.setDoInput(true);
|
||||
httpURLConnection.setRequestMethod(type);
|
||||
// 获取URLConnection对象对应的输出流
|
||||
// printWriter = new PrintWriter(httpURLConnection.getOutputStream());
|
||||
if ("POST".equals(type)) {
|
||||
DataOutputStream out = new DataOutputStream(httpURLConnection.getOutputStream());
|
||||
out.write(param.toString().getBytes("UTF-8"));
|
||||
// 发送请求参数
|
||||
// printWriter.write(new String(param.toString().getBytes(), "UTF-8"));
|
||||
// flush输出流的缓冲
|
||||
out.flush();
|
||||
out.close();
|
||||
}
|
||||
// 根据ResponseCode判断连接是否成功
|
||||
int responseCode = httpURLConnection.getResponseCode();
|
||||
// System.out.println("responseCode:"+responseCode);
|
||||
if (responseCode == httpURLConnection.HTTP_OK) {
|
||||
// 定义BufferedReader输入流来读取URL的ResponseData
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getInputStream(), "UTF-8"));
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
responseResult.append(line);
|
||||
}
|
||||
return responseResult.toString();
|
||||
} else {
|
||||
if (httpURLConnection != null && httpURLConnection.getErrorStream() != null) {
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getErrorStream(), "UTF-8"));
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
responseResult.append(line);
|
||||
}
|
||||
logger_728f7230.info(String.valueOf("apierror:" + responseResult.toString()));
|
||||
}
|
||||
}
|
||||
return null;
|
||||
} catch (ConnectException e) {
|
||||
throw new Exception(e);
|
||||
} catch (MalformedURLException e) {
|
||||
throw new Exception(e);
|
||||
} catch (IOException e) {
|
||||
throw new Exception(e);
|
||||
} catch (Exception e) {
|
||||
throw new Exception(e);
|
||||
} finally {
|
||||
httpURLConnection.disconnect();
|
||||
try {
|
||||
if (printWriter != null) {
|
||||
printWriter.close();
|
||||
}
|
||||
if (bufferedReader != null) {
|
||||
bufferedReader.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String postConnectionByAuthorization(String url, String param, String type, String Authorization) throws Exception {
|
||||
PrintWriter printWriter = null;
|
||||
BufferedReader bufferedReader = null;
|
||||
HttpURLConnection httpURLConnection = null;
|
||||
JSONObject result = new JSONObject();
|
||||
result.put("status", "E");
|
||||
StringBuffer responseResult = new StringBuffer();
|
||||
try {
|
||||
URL realUrl = new URL(url);
|
||||
// 打开和URL之间的连接
|
||||
httpURLConnection = (HttpURLConnection) realUrl.openConnection();
|
||||
httpURLConnection.setConnectTimeout(30000);
|
||||
httpURLConnection.setReadTimeout(30000);
|
||||
// 设置通用的请求属性
|
||||
httpURLConnection.setRequestProperty("Authorization", Authorization);
|
||||
httpURLConnection.setRequestProperty("accept", "*/*");
|
||||
httpURLConnection.setRequestProperty("connection", "Keep-Alive");
|
||||
httpURLConnection.setRequestProperty("Content-Length", String.valueOf(param.length()));
|
||||
httpURLConnection.setRequestProperty("Charset", "UTF-8");
|
||||
httpURLConnection.setRequestProperty("Content-type", "application/json;charset=UTF-8");
|
||||
// 发送POST请求必须设置如下两行
|
||||
httpURLConnection.setDoOutput(true);
|
||||
httpURLConnection.setDoInput(true);
|
||||
httpURLConnection.setRequestMethod(type);
|
||||
// 获取URLConnection对象对应的输出流
|
||||
// printWriter = new PrintWriter(httpURLConnection.getOutputStream());
|
||||
if ("POST".equals(type)) {
|
||||
DataOutputStream out = new DataOutputStream(httpURLConnection.getOutputStream());
|
||||
out.write(param.toString().getBytes("UTF-8"));
|
||||
// 发送请求参数
|
||||
// printWriter.write(new String(param.toString().getBytes(), "UTF-8"));
|
||||
// flush输出流的缓冲
|
||||
out.flush();
|
||||
out.close();
|
||||
}
|
||||
// 根据ResponseCode判断连接是否成功
|
||||
int responseCode = httpURLConnection.getResponseCode();
|
||||
// System.out.println("responseCode:"+responseCode);
|
||||
if (responseCode == httpURLConnection.HTTP_OK) {
|
||||
// 定义BufferedReader输入流来读取URL的ResponseData
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getInputStream(), "UTF-8"));
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
responseResult.append(line);
|
||||
}
|
||||
result.put("status", "S");
|
||||
result.put("result", responseResult.toString());
|
||||
return result.toJSONString();
|
||||
} else {
|
||||
if (httpURLConnection != null && httpURLConnection.getErrorStream() != null) {
|
||||
bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getErrorStream(), "UTF-8"));
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
responseResult.append(line);
|
||||
}
|
||||
logger_728f7230.info(String.valueOf("apierror:" + responseResult.toString()));
|
||||
result.put("result", responseResult.toString());
|
||||
return result.toJSONString();
|
||||
}
|
||||
}
|
||||
result.put("result", "接口异常");
|
||||
return result.toJSONString();
|
||||
} catch (ConnectException e) {
|
||||
throw new Exception(e);
|
||||
} catch (MalformedURLException e) {
|
||||
throw new Exception(e);
|
||||
} catch (IOException e) {
|
||||
throw new Exception(e);
|
||||
} catch (Exception e) {
|
||||
throw new Exception(e);
|
||||
} finally {
|
||||
httpURLConnection.disconnect();
|
||||
try {
|
||||
if (printWriter != null) {
|
||||
printWriter.close();
|
||||
}
|
||||
if (bufferedReader != null) {
|
||||
bufferedReader.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Map<String,String> map = new HashMap<>();
|
||||
// map.put("grant_type","client_credentials");
|
||||
// map.put("client_id","mes@cxist_lims11");
|
||||
// map.put("client_secret","52179a00-bbdd-4ada-8323-cc1dad4212e3");
|
||||
// map.put("tenant_id","439795053355905024");
|
||||
// String result = WebApi.postConnectionFormData("http://222.71.165.171:8855/ids/connect/token","POST",map);
|
||||
// JSONObject tokenJson = JSON.parseObject(result);
|
||||
// if(tokenJson.containsKey("access_token")){
|
||||
// System.out.println(tokenJson.getString("access_token"));
|
||||
// }else{
|
||||
// System.out.println(result);
|
||||
// }
|
||||
// String result = WebApi.postConnectionByAuthorization("http://222.71.165.171:8855/lims/open/htoa/rollback","{\"requestId\":\"2601900\"}","POST","Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiI0Mzk3OTUwNTMzNTU5MDUwMjQiLCJzY29wZSI6WyJhbGwiXSwiZXhwIjoxNjk2Nzk0NzA4LCJqdGkiOiJkYzhhZGQwMS1hZWMyLTQ3M2UtYWVlZC01NjE1ZDgyYjcwNjIiLCJjbGllbnRfaWQiOiJtZXNAY3hpc3RfbGltcyJ9.Ta8DIdT_dkVruWYuupC6XP8l5cru6V9761T0EMx9KdMnI2p9p9bvPIOpdV33ulMYZEEZy4a9klPl4Htq9g5Mgr0sQofz_dA3Rxb0RzfUzcV2uzPsHzIPjqIBfml4qjiB6RcYjWVLg2mp8xvhUgvB02V6wMQXJwjJ_TZu7Wx1Bdznu-JtoMMbDIjlgn--zMLtmhIVZGIK-6KSwGmp5-xRfsv98g4a-taLKDTQACGEptiWbvbCjXt2ehJBLyKQw7B-LomYNZ7gFvihfOCdAMEgtZiaiF6vFmUhw0qK3W-Yxwckh6UPDfdhHuXaZXKNz3yHqCLZKsViDdng2IvQ_O3p6g");
|
||||
// System.out.println(result);
|
||||
// String aaa = "{\n" +
|
||||
// " \"disposalResult\": 1,\n" +
|
||||
// " \"oaResult\":\"aaa\",\n" +
|
||||
// " \"flowId\": \"1686217803279446018\",\n" +
|
||||
// " \"processStatus\": 1,\n" +
|
||||
// " \"writeBack\":\"{}\",\n" +
|
||||
// " \"remarks\": [\n" +
|
||||
// " {\n" +
|
||||
// " \"conclusion\": \"同意\",\n" +
|
||||
// " \"name\": \"刘经理审核\",\n" +
|
||||
// " \"reviewedBy\": \"刘经理\",\n" +
|
||||
// " \"reviewedDate\": \"2023-08-01 23:34:34\",\n" +
|
||||
// " \"reviewedStatus\": 0\n" +
|
||||
// " }\n" +
|
||||
// " ]\n" +
|
||||
// "}\n";
|
||||
// String sr = postConnectionSSL("https://10.6.24.122:82/oem/data/mss1/api/framework/v1/admin/oa/flow/examine",aaa,"POST");
|
||||
// System.out.println(sr);
|
||||
// String sr = postConnection("http://127.0.0.1:7000/api/peixun/ryxx/getlastname2?workcode=test123","","POST");
|
||||
// String usernasme = "API@opplelig01T1";
|
||||
// String password = "Ople*APi9";
|
||||
// String sr = postConnectionByBasicAuth("https://api15.sapsf.cn/odata/v2/TodoEntryV2/$count?$filter=status eq '2' and userId eq '00057664'&$format=json","","GET",usernasme,password);
|
||||
// JSONObject ticketparam = new JSONObject();
|
||||
// ticketparam.put("appKey","obk_htgd");
|
||||
// ticketparam.put("appSecurity","obk_htgd");
|
||||
// String ticketUrl="https://ct.ctrip.com/SwitchAPI/Order/Ticket";
|
||||
// String result = postConnection(ticketUrl,ticketparam.toString(),"POST");
|
||||
// System.out.println(result);
|
||||
// JSONObject ticket = new JSONObject(result);
|
||||
// if(ticket.has("Ticket") && ticket.getJSONObject("Status").getBoolean("Success")){
|
||||
// String tickettoken = ticket.getString("Ticket");
|
||||
// System.out.println("tickettoken:"+tickettoken);
|
||||
// }
|
||||
}
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package com.weaver.seconddev.interfaces.iuroa;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.apache.http.HttpResponse;
|
||||
import org.apache.http.client.HttpClient;
|
||||
import org.apache.http.client.methods.HttpPost;
|
||||
import org.apache.http.entity.StringEntity;
|
||||
import org.apache.http.impl.client.DefaultHttpClient;
|
||||
import org.apache.http.protocol.HTTP;
|
||||
import org.apache.http.util.EntityUtils;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
|
||||
public class SyncDataService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_4014b7c4 = LoggerFactory.getLogger(SyncDataService.class);
|
||||
|
||||
public String[] call(JSONObject data, String link) {
|
||||
HttpPost post = null;
|
||||
String[] str = new String[2];
|
||||
try {
|
||||
HttpClient client = new DefaultHttpClient();
|
||||
String url = Util.null2String(getPropValue("htiuroasync", link)).trim();
|
||||
post = new HttpPost(url);
|
||||
post.setHeader(HTTP.CONTENT_TYPE, "application/json; charset=UTF-8");
|
||||
StringEntity entity = new StringEntity(data.toString(), "UTF-8");
|
||||
post.setEntity(entity);
|
||||
HttpResponse response = client.execute(post);
|
||||
int rspCode = response.getStatusLine().getStatusCode();
|
||||
logger_4014b7c4.info(String.valueOf("调用产学研平台接口返回状态码:" + rspCode));
|
||||
if (rspCode == 200) {
|
||||
String result = EntityUtils.toString(response.getEntity(), "UTF-8");
|
||||
JSONObject obj = JSONObject.parseObject(result);
|
||||
str[0] = "200".equals(obj.getString("code")) ? "S" : "E";
|
||||
str[1] = obj.getString("message");
|
||||
} else {
|
||||
str[0] = "E";
|
||||
str[1] = "同步失败状态码:" + rspCode;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
str[0] = "E";
|
||||
str[1] = e.toString();
|
||||
logger_4014b7c4.info(String.valueOf("调用产学研平台接口出错" + e.toString()));
|
||||
} finally {
|
||||
if (post != null) {
|
||||
post.releaseConnection();
|
||||
}
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
|
||||
/**
|
||||
* CustomerServiceCallbackHandler.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:00:16 CEST)
|
||||
*/
|
||||
|
||||
package com.weaver.seconddev.interfaces.k3;
|
||||
|
||||
/**
|
||||
* CustomerServiceCallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class CustomerServiceCallbackHandler{
|
||||
|
||||
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking
|
||||
* Web service call is finished and appropriate method of this CallBack is called.
|
||||
* @param clientData Object mechanism by which the user can pass in user data
|
||||
* that will be avilable at the time this callback is called.
|
||||
*/
|
||||
public CustomerServiceCallbackHandler(Object clientData){
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Please use this constructor if you don't want to set any clientData
|
||||
*/
|
||||
public CustomerServiceCallbackHandler(){
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the client data
|
||||
*/
|
||||
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for geCustMsg method
|
||||
* override this method for handling normal response from geCustMsg operation
|
||||
*/
|
||||
public void receiveResultgeCustMsg(
|
||||
CustomerServiceStub.GeCustMsgResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from geCustMsg operation
|
||||
*/
|
||||
public void receiveErrorgeCustMsg(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for buildCustomer method
|
||||
* override this method for handling normal response from buildCustomer operation
|
||||
*/
|
||||
public void receiveResultbuildCustomer(
|
||||
CustomerServiceStub.BuildCustomerResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from buildCustomer operation
|
||||
*/
|
||||
public void receiveErrorbuildCustomer(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for getCustomer method
|
||||
* override this method for handling normal response from getCustomer operation
|
||||
*/
|
||||
public void receiveResultgetCustomer(
|
||||
CustomerServiceStub.GetCustomerResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from getCustomer operation
|
||||
*/
|
||||
public void receiveErrorgetCustomer(Exception e) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,64 @@
|
||||
package com.weaver.seconddev.interfaces.k3;
|
||||
|
||||
import com.weaver.seconddev.interfaces.k3.GiftQtyServiceStub.*;
|
||||
import java.lang.String;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class GiftQtyService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_a44d19bf = LoggerFactory.getLogger(GiftQtyService.class);
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
public Map<String, String> call(ArrayOfGiftStockDt param) {
|
||||
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.lplysl_url")).trim();
|
||||
|
||||
|
||||
Map<String, String> map = new HashMap<String, String>();
|
||||
try {
|
||||
logger_a44d19bf.info(String.valueOf("GiftQtyService ------------ start "));
|
||||
logger_a44d19bf.error("lplysl_url == " + configProp.getLplysl_url());
|
||||
String url = configProp.getLplysl_url();
|
||||
logger_a44d19bf.info(String.valueOf("configProp htk3oasync.lplysl_url" + url));
|
||||
logger_a44d19bf.info(String.valueOf("GiftQtyService--start"));
|
||||
GiftQtyServiceStub stub = new GiftQtyServiceStub(url);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
|
||||
GiftStockReq req = new GiftStockReq();
|
||||
req.setUser("oa");
|
||||
req.setPwd("k3cloud_htgd");
|
||||
req.setFCompanyNumber("Z010");
|
||||
req.setGifts(param);
|
||||
GetGiftQty getQty = new GetGiftQty();
|
||||
getQty.setObj(req);
|
||||
GetGiftQtyResponse res = stub.getGiftQty(getQty);
|
||||
GiftStockRes result = res.getGetGiftQtyResult();
|
||||
if ("1".equals(result.getCode())) {
|
||||
ArrayOfGiftStockDt returnGifts = result.getReturnGifts();
|
||||
GiftStockDt[] giftStockDt = returnGifts.getGiftStockDt();
|
||||
for (int i = 0; i < giftStockDt.length; i++) {
|
||||
map.put(giftStockDt[i].getFNumber(), giftStockDt[i].getFQty());
|
||||
logger_a44d19bf.info("GiftQtyService--result-[" + giftStockDt[i].getFNumber() + "-" + giftStockDt[i].getFQty() + "]");
|
||||
}
|
||||
}
|
||||
map.put("code", result.getCode());
|
||||
map.put("msg", result.getMessage());
|
||||
} catch (Exception e) {
|
||||
map.put("code", "0");
|
||||
map.put("msg", e.toString());
|
||||
logger_a44d19bf.info(String.valueOf("GiftQtyService--error:" + e.toString()));
|
||||
}
|
||||
return map;
|
||||
}
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
|
||||
/**
|
||||
* GiftQtyServiceCallbackHandler.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:00:16 CEST)
|
||||
*/
|
||||
|
||||
package com.weaver.seconddev.interfaces.k3;
|
||||
|
||||
/**
|
||||
* GiftQtyServiceCallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class GiftQtyServiceCallbackHandler{
|
||||
|
||||
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking
|
||||
* Web service call is finished and appropriate method of this CallBack is called.
|
||||
* @param clientData Object mechanism by which the user can pass in user data
|
||||
* that will be avilable at the time this callback is called.
|
||||
*/
|
||||
public GiftQtyServiceCallbackHandler(Object clientData){
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Please use this constructor if you don't want to set any clientData
|
||||
*/
|
||||
public GiftQtyServiceCallbackHandler(){
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the client data
|
||||
*/
|
||||
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for doWork method
|
||||
* override this method for handling normal response from doWork operation
|
||||
*/
|
||||
public void receiveResultdoWork(
|
||||
com.weaver.seconddev.interfaces.k3.GiftQtyServiceStub.DoWorkResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from doWork operation
|
||||
*/
|
||||
public void receiveErrordoWork(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for getGiftQty method
|
||||
* override this method for handling normal response from getGiftQty operation
|
||||
*/
|
||||
public void receiveResultgetGiftQty(
|
||||
com.weaver.seconddev.interfaces.k3.GiftQtyServiceStub.GetGiftQtyResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from getGiftQty operation
|
||||
*/
|
||||
public void receiveErrorgetGiftQty(Exception e) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
||||
/**
|
||||
* SI_HTOAPurreqAPPROSync_OUTServiceCallbackHandler.java
|
||||
*
|
||||
* <p>This file was auto-generated from WSDL by the Apache Axis2 version: 1.8.2 Built on : Jul 13,
|
||||
* 2022 (06:38:03 EDT)
|
||||
*/
|
||||
package com.weaver.seconddev.interfaces.k3;
|
||||
|
||||
/**
|
||||
* SI_HTOAPurreqAPPROSync_OUTServiceCallbackHandler Callback class, Users can extend this class and
|
||||
* implement their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SI_HTOAPurreqAPPROSync_OUTServiceCallbackHandler {
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking Web service call is
|
||||
* finished and appropriate method of this CallBack is called.
|
||||
*
|
||||
* @param clientData Object mechanism by which the user can pass in user data that will be
|
||||
* avilable at the time this callback is called.
|
||||
*/
|
||||
public SI_HTOAPurreqAPPROSync_OUTServiceCallbackHandler(Object clientData) {
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/** Please use this constructor if you don't want to set any clientData */
|
||||
public SI_HTOAPurreqAPPROSync_OUTServiceCallbackHandler() {
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/** Get the client data */
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for sI_HTOAPurreqAPPROSync_OUT method override this
|
||||
* method for handling normal response from sI_HTOAPurreqAPPROSync_OUT operation
|
||||
*/
|
||||
public void receiveResultsI_HTOAPurreqAPPROSync_OUT(
|
||||
SI_HTOAPurreqAPPROSync_OUTServiceStub
|
||||
.Oa2K3PurchaseRequestResultResponse
|
||||
result) {}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler override this method for handling error response from
|
||||
* sI_HTOAPurreqAPPROSync_OUT operation
|
||||
*/
|
||||
public void receiveErrorsI_HTOAPurreqAPPROSync_OUT(Exception e) {}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,98 @@
|
||||
|
||||
/**
|
||||
* SupplierServiceCallbackHandler.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:00:16 CEST)
|
||||
*/
|
||||
|
||||
package com.weaver.seconddev.interfaces.k3;
|
||||
|
||||
/**
|
||||
* SupplierServiceCallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class SupplierServiceCallbackHandler{
|
||||
|
||||
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking
|
||||
* Web service call is finished and appropriate method of this CallBack is called.
|
||||
* @param clientData Object mechanism by which the user can pass in user data
|
||||
* that will be avilable at the time this callback is called.
|
||||
*/
|
||||
public SupplierServiceCallbackHandler(Object clientData){
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Please use this constructor if you don't want to set any clientData
|
||||
*/
|
||||
public SupplierServiceCallbackHandler(){
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the client data
|
||||
*/
|
||||
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for getSupMsg method
|
||||
* override this method for handling normal response from getSupMsg operation
|
||||
*/
|
||||
public void receiveResultgetSupMsg(
|
||||
SupplierServiceStub.GetSupMsgResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from getSupMsg operation
|
||||
*/
|
||||
public void receiveErrorgetSupMsg(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for getSupplier method
|
||||
* override this method for handling normal response from getSupplier operation
|
||||
*/
|
||||
public void receiveResultgetSupplier(
|
||||
SupplierServiceStub.GetSupplierResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from getSupplier operation
|
||||
*/
|
||||
public void receiveErrorgetSupplier(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for buildSupplier method
|
||||
* override this method for handling normal response from buildSupplier operation
|
||||
*/
|
||||
public void receiveResultbuildSupplier(
|
||||
SupplierServiceStub.BuildSupplierResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from buildSupplier operation
|
||||
*/
|
||||
public void receiveErrorbuildSupplier(Exception e) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,82 @@
|
||||
|
||||
/**
|
||||
* TransferBillServiceCallbackHandler.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:00:16 CEST)
|
||||
*/
|
||||
|
||||
package com.weaver.seconddev.interfaces.k3;
|
||||
|
||||
/**
|
||||
* TransferBillServiceCallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class TransferBillServiceCallbackHandler{
|
||||
|
||||
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking
|
||||
* Web service call is finished and appropriate method of this CallBack is called.
|
||||
* @param clientData Object mechanism by which the user can pass in user data
|
||||
* that will be avilable at the time this callback is called.
|
||||
*/
|
||||
public TransferBillServiceCallbackHandler(Object clientData){
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Please use this constructor if you don't want to set any clientData
|
||||
*/
|
||||
public TransferBillServiceCallbackHandler(){
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the client data
|
||||
*/
|
||||
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for doWork method
|
||||
* override this method for handling normal response from doWork operation
|
||||
*/
|
||||
public void receiveResultdoWork(
|
||||
TransferBillServiceStub.DoWorkResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from doWork operation
|
||||
*/
|
||||
public void receiveErrordoWork(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for buildTransferBill method
|
||||
* override this method for handling normal response from buildTransferBill operation
|
||||
*/
|
||||
public void receiveResultbuildTransferBill(
|
||||
TransferBillServiceStub.BuildTransferBillResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from buildTransferBill operation
|
||||
*/
|
||||
public void receiveErrorbuildTransferBill(Exception e) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,48 @@
|
||||
package com.weaver.seconddev.interfaces.oames;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import com.weaver.common.i18n.tool.util.I18nContextUtil;
|
||||
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.core.env.Environment;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
import com.weaver.verupgrade.general.Util;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
@Component
|
||||
public class CallMesChuMenZhengService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_742486d = LoggerFactory.getLogger(CallMesChuMenZhengService.class);
|
||||
|
||||
private OA_CMZ_SERVICEStub.OA_CMZ_MSG resultIn = null;
|
||||
@Autowired
|
||||
private ConfigProp configProp;
|
||||
public void setOainput(OA_CMZ_SERVICEStub.OA_CMZ_MSG oames) {
|
||||
this.resultIn = oames;
|
||||
}
|
||||
|
||||
public String[] call() throws RemoteException {
|
||||
logger_742486d.info(String.valueOf("调用接口------------------------开始"));
|
||||
OA_CMZ_SERVICEStub stub = null;
|
||||
// String wsdlLocation = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("MesInterfaceAddr.WsdlLocation")).trim();
|
||||
String wsdlLocation = configProp.getWsdlLocation();
|
||||
stub = new OA_CMZ_SERVICEStub(wsdlLocation);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
logger_742486d.info(String.valueOf("已获取wsdl"));
|
||||
OA_CMZ_SERVICEStub.OA_CMZ_MSGResponse response = stub.oA_CMZ_MSG(resultIn);
|
||||
OA_CMZ_SERVICEStub.ArrayOfOA_CMZ_RETURN_TYPE response_result = response.getOA_CMZ_MSGResult();
|
||||
OA_CMZ_SERVICEStub.OA_CMZ_RETURN_TYPE[] results = response_result.getOA_CMZ_RETURN_TYPE();
|
||||
logger_742486d.info(String.valueOf("调用接口------------------------完成"));
|
||||
OA_CMZ_SERVICEStub.OA_CMZ_RETURN_TYPE result = results[0];
|
||||
// 封装返回信息
|
||||
String[] rtInfo = new String[3];
|
||||
rtInfo[0] = result.getISTAT();
|
||||
rtInfo[1] = result.getMESSAGE();
|
||||
rtInfo[2] = result.getVBELN();
|
||||
return rtInfo;
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.weaver.seconddev.interfaces.oames;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
|
||||
public class CallMesKeSuService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_8c7d5757 = LoggerFactory.getLogger(CallMesKeSuService.class);
|
||||
|
||||
private OA_KSJXCL_SERVICEStub.OA_KSJTHHLC resultin = null;
|
||||
|
||||
public void setOainput(OA_KSJXCL_SERVICEStub.OA_KSJTHHLC oames) {
|
||||
this.resultin = oames;
|
||||
}
|
||||
|
||||
public String[] call() throws RemoteException {
|
||||
logger_8c7d5757.info(String.valueOf("调用接口------------------------开始"));
|
||||
OA_KSJXCL_SERVICEStub stub = null;
|
||||
String wsdlLocation = "http://10.7.6.67:7280/OA_KSJXCL_SERVICE.svc?wsdl";
|
||||
stub = new OA_KSJXCL_SERVICEStub(wsdlLocation);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJTHHLCResponse response = stub.oA_KSJTHHLC(resultin);
|
||||
OA_KSJXCL_SERVICEStub.ArrayOfOA_KSJXCL_RETURN_TYPE response_result = response.getOA_KSJTHHLCResult();
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE[] results = response_result.getOA_KSJXCL_RETURN_TYPE();
|
||||
logger_8c7d5757.info(String.valueOf("调用接口------------------------完成"));
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE result = results[0];
|
||||
// 封装返回
|
||||
String[] rtInfo = new String[3];
|
||||
rtInfo[0] = result.getVBELN();
|
||||
rtInfo[1] = result.getISTAT();
|
||||
rtInfo[2] = result.getMESSAGE();
|
||||
return rtInfo;
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package com.weaver.seconddev.interfaces.oames;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
|
||||
/*HTGD-JS06-新材料小批量认证总结报告
|
||||
|
||||
*/
|
||||
public class CallMesNewMaterialCertificationService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_65e8d8c0 = LoggerFactory.getLogger(CallMesNewMaterialCertificationService.class);
|
||||
|
||||
private OA_KSJXCL_SERVICEStub.OA_XCLRZZJBGLC resultin = null;
|
||||
|
||||
public void setOainput(OA_KSJXCL_SERVICEStub.OA_XCLRZZJBGLC oames) {
|
||||
this.resultin = oames;
|
||||
}
|
||||
|
||||
public String[] call() throws RemoteException {
|
||||
logger_65e8d8c0.info(String.valueOf("调用接口------------------------开始"));
|
||||
OA_KSJXCL_SERVICEStub stub = null;
|
||||
String wsdlLocation = "http://10.7.6.67:7280/OA_KSJXCL_SERVICE.svc?wsdl";
|
||||
stub = new OA_KSJXCL_SERVICEStub(wsdlLocation);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
OA_KSJXCL_SERVICEStub.OA_XCLRZZJBGLCResponse response = stub.oA_XCLRZZJBGLC(resultin);
|
||||
OA_KSJXCL_SERVICEStub.ArrayOfOA_KSJXCL_RETURN_TYPE response_result = response.getOA_XCLRZZJBGLCResult();
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE[] results = response_result.getOA_KSJXCL_RETURN_TYPE();
|
||||
logger_65e8d8c0.info(String.valueOf("调用接口------------------------完成"));
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE result = results[0];
|
||||
// 封装返回
|
||||
String[] rtInfo = new String[3];
|
||||
rtInfo[0] = result.getVBELN();
|
||||
rtInfo[1] = result.getISTAT();
|
||||
rtInfo[2] = result.getMESSAGE();
|
||||
return rtInfo;
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package com.weaver.seconddev.interfaces.oames;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
|
||||
/**
|
||||
* HTGD-JS04新材料立项流程
|
||||
*/
|
||||
public class CallMesNewMaterialProjectService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_5b2c0941 = LoggerFactory.getLogger(CallMesNewMaterialProjectService.class);
|
||||
|
||||
private OA_KSJXCL_SERVICEStub.OA_XCLLXSQ resultin = null;
|
||||
|
||||
public void setOainput(OA_KSJXCL_SERVICEStub.OA_XCLLXSQ oames) {
|
||||
this.resultin = oames;
|
||||
}
|
||||
|
||||
public String[] call() throws RemoteException {
|
||||
logger_5b2c0941.info(String.valueOf("调用接口------------------------开始"));
|
||||
OA_KSJXCL_SERVICEStub stub = null;
|
||||
String wsdlLocation = "http://10.7.6.67:7280/OA_KSJXCL_SERVICE.svc?wsdl";
|
||||
stub = new OA_KSJXCL_SERVICEStub(wsdlLocation);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
OA_KSJXCL_SERVICEStub.OA_XCLLXSQResponse response = stub.oA_XCLLXSQ(resultin);
|
||||
OA_KSJXCL_SERVICEStub.ArrayOfOA_KSJXCL_RETURN_TYPE response_result = response.getOA_XCLLXSQResult();
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE[] results = response_result.getOA_KSJXCL_RETURN_TYPE();
|
||||
logger_5b2c0941.info(String.valueOf("调用接口------------------------完成"));
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE result = results[0];
|
||||
// 封装返回
|
||||
String[] rtInfo = new String[3];
|
||||
rtInfo[0] = result.getVBELN();
|
||||
rtInfo[1] = result.getISTAT();
|
||||
rtInfo[2] = result.getMESSAGE();
|
||||
return rtInfo;
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package com.weaver.seconddev.interfaces.oames;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
|
||||
/**
|
||||
* HTGD-JS05-新材料调试报告
|
||||
*/
|
||||
public class CallMesNewMaterialTSBGSerivce extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_9c008166 = LoggerFactory.getLogger(CallMesNewMaterialTSBGSerivce.class);
|
||||
|
||||
private OA_KSJXCL_SERVICEStub.OA_XCLSTBG resultin = null;
|
||||
|
||||
public void setOainput(OA_KSJXCL_SERVICEStub.OA_XCLSTBG oames) {
|
||||
this.resultin = oames;
|
||||
}
|
||||
|
||||
public String[] call() throws RemoteException {
|
||||
logger_9c008166.info(String.valueOf("调用接口------------------------开始"));
|
||||
OA_KSJXCL_SERVICEStub stub = null;
|
||||
String wsdlLocation = "http://10.7.6.67:7280/OA_KSJXCL_SERVICE.svc?wsdl";
|
||||
stub = new OA_KSJXCL_SERVICEStub(wsdlLocation);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
OA_KSJXCL_SERVICEStub.OA_XCLSTBGResponse response = stub.oA_XCLSTBG(resultin);
|
||||
OA_KSJXCL_SERVICEStub.ArrayOfOA_KSJXCL_RETURN_TYPE response_result = response.getOA_XCLSTBGResult();
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE[] results = response_result.getOA_KSJXCL_RETURN_TYPE();
|
||||
logger_9c008166.info(String.valueOf("调用接口------------------------完成"));
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE result = results[0];
|
||||
// 封装返回
|
||||
String[] rtInfo = new String[3];
|
||||
rtInfo[0] = result.getVBELN();
|
||||
rtInfo[1] = result.getISTAT();
|
||||
rtInfo[2] = result.getMESSAGE();
|
||||
return rtInfo;
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package com.weaver.seconddev.interfaces.oames;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import java.lang.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import com.weaver.verupgrade.general.BaseBean;
|
||||
|
||||
/**
|
||||
* HTGD-GY101-(新)新材料试用
|
||||
*/
|
||||
public class CallMesNewMaterialTestService extends BaseBean {
|
||||
|
||||
private static final org.slf4j.Logger logger_6cde4ffe = LoggerFactory.getLogger(CallMesNewMaterialTestService.class);
|
||||
|
||||
private OA_KSJXCL_SERVICEStub.OA_XCLSYSQLC resultin = null;
|
||||
|
||||
public void setOainput(OA_KSJXCL_SERVICEStub.OA_XCLSYSQLC oames) {
|
||||
this.resultin = oames;
|
||||
}
|
||||
|
||||
public String[] call() throws RemoteException {
|
||||
logger_6cde4ffe.info(String.valueOf("调用接口------------------------开始"));
|
||||
OA_KSJXCL_SERVICEStub stub = null;
|
||||
String wsdlLocation = "http://10.7.6.67:7280/OA_KSJXCL_SERVICE.svc?wsdl";
|
||||
stub = new OA_KSJXCL_SERVICEStub(wsdlLocation);
|
||||
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
|
||||
OA_KSJXCL_SERVICEStub.OA_XCLSYSQLCResponse response = stub.oA_XCLSYSQLC(resultin);
|
||||
OA_KSJXCL_SERVICEStub.ArrayOfOA_KSJXCL_RETURN_TYPE response_result = response.getOA_XCLSYSQLCResult();
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE[] results = response_result.getOA_KSJXCL_RETURN_TYPE();
|
||||
logger_6cde4ffe.info(String.valueOf("调用接口------------------------完成"));
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJXCL_RETURN_TYPE result = results[0];
|
||||
// 封装返回
|
||||
String[] rtInfo = new String[3];
|
||||
rtInfo[0] = result.getVBELN();
|
||||
rtInfo[1] = result.getISTAT();
|
||||
rtInfo[2] = result.getMESSAGE();
|
||||
return rtInfo;
|
||||
}
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
|
||||
/**
|
||||
* OA_CMZ_SERVICECallbackHandler.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:00:16 CEST)
|
||||
*/
|
||||
|
||||
package com.weaver.seconddev.interfaces.oames;
|
||||
|
||||
/**
|
||||
* OA_CMZ_SERVICECallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class OA_CMZ_SERVICECallbackHandler{
|
||||
|
||||
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking
|
||||
* Web service call is finished and appropriate method of this CallBack is called.
|
||||
* @param clientData Object mechanism by which the user can pass in user data
|
||||
* that will be avilable at the time this callback is called.
|
||||
*/
|
||||
public OA_CMZ_SERVICECallbackHandler(Object clientData){
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Please use this constructor if you don't want to set any clientData
|
||||
*/
|
||||
public OA_CMZ_SERVICECallbackHandler(){
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the client data
|
||||
*/
|
||||
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for oA_CMZ_MSG method
|
||||
* override this method for handling normal response from oA_CMZ_MSG operation
|
||||
*/
|
||||
public void receiveResultoA_CMZ_MSG(
|
||||
OA_CMZ_SERVICEStub.OA_CMZ_MSGResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from oA_CMZ_MSG operation
|
||||
*/
|
||||
public void receiveErroroA_CMZ_MSG(Exception e) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,130 @@
|
||||
|
||||
/**
|
||||
* OA_KSJXCL_SERVICECallbackHandler.java
|
||||
*
|
||||
* This file was auto-generated from WSDL
|
||||
* by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:00 EDT)
|
||||
*/
|
||||
|
||||
package com.weaver.seconddev.interfaces.oames;
|
||||
|
||||
/**
|
||||
* OA_KSJXCL_SERVICECallbackHandler Callback class, Users can extend this class and implement
|
||||
* their own receiveResult and receiveError methods.
|
||||
*/
|
||||
public abstract class OA_KSJXCL_SERVICECallbackHandler{
|
||||
|
||||
|
||||
|
||||
protected Object clientData;
|
||||
|
||||
/**
|
||||
* User can pass in any object that needs to be accessed once the NonBlocking
|
||||
* Web service call is finished and appropriate method of this CallBack is called.
|
||||
* @param clientData Object mechanism by which the user can pass in user data
|
||||
* that will be avilable at the time this callback is called.
|
||||
*/
|
||||
public OA_KSJXCL_SERVICECallbackHandler(Object clientData){
|
||||
this.clientData = clientData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Please use this constructor if you don't want to set any clientData
|
||||
*/
|
||||
public OA_KSJXCL_SERVICECallbackHandler(){
|
||||
this.clientData = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the client data
|
||||
*/
|
||||
|
||||
public Object getClientData() {
|
||||
return clientData;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for oA_KSJTHHLC method
|
||||
* override this method for handling normal response from oA_KSJTHHLC operation
|
||||
*/
|
||||
public void receiveResultoA_KSJTHHLC(
|
||||
OA_KSJXCL_SERVICEStub.OA_KSJTHHLCResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from oA_KSJTHHLC operation
|
||||
*/
|
||||
public void receiveErroroA_KSJTHHLC(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for oA_XCLSTBG method
|
||||
* override this method for handling normal response from oA_XCLSTBG operation
|
||||
*/
|
||||
public void receiveResultoA_XCLSTBG(
|
||||
OA_KSJXCL_SERVICEStub.OA_XCLSTBGResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from oA_XCLSTBG operation
|
||||
*/
|
||||
public void receiveErroroA_XCLSTBG(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for oA_XCLRZZJBGLC method
|
||||
* override this method for handling normal response from oA_XCLRZZJBGLC operation
|
||||
*/
|
||||
public void receiveResultoA_XCLRZZJBGLC(
|
||||
OA_KSJXCL_SERVICEStub.OA_XCLRZZJBGLCResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from oA_XCLRZZJBGLC operation
|
||||
*/
|
||||
public void receiveErroroA_XCLRZZJBGLC(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for oA_XCLSYSQLC method
|
||||
* override this method for handling normal response from oA_XCLSYSQLC operation
|
||||
*/
|
||||
public void receiveResultoA_XCLSYSQLC(
|
||||
OA_KSJXCL_SERVICEStub.OA_XCLSYSQLCResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from oA_XCLSYSQLC operation
|
||||
*/
|
||||
public void receiveErroroA_XCLSYSQLC(Exception e) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 call back method for oA_XCLLXSQ method
|
||||
* override this method for handling normal response from oA_XCLLXSQ operation
|
||||
*/
|
||||
public void receiveResultoA_XCLLXSQ(
|
||||
OA_KSJXCL_SERVICEStub.OA_XCLLXSQResponse result
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* auto generated Axis2 Error handler
|
||||
* override this method for handling error response from oA_XCLLXSQ operation
|
||||
*/
|
||||
public void receiveErroroA_XCLLXSQ(Exception e) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue