webservice wsdl2java

webservice
qijirenjian 5 months ago
parent 0ed7bb28df
commit 18f6e048bc

@ -1,12 +1,9 @@
package com.weaver.seconddev.interfaces.crmoa;
import com.weaver.seconddev.interfaces.prop.ConfigProp;
import org.apache.axis2.transport.http.HttpTransportProperties;
import com.weaver.seconddev.interfaces.crmoa.SI_HTCRMBlistTempLifting_OUTServiceStub.*;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
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.springframework.core.env.Environment;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.weaver.verupgrade.general.BaseBean;
import com.weaver.verupgrade.general.Util;
@ -24,27 +21,52 @@ public class CRM_SyncTempUnfreeze extends BaseBean {
// 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());
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();
// 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.transport.http.HTTPConstants.AUTHENTICATE, auth);
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;
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) {}
}

@ -1,66 +1,52 @@
/**
* CRM_SyncUnFreezeTimesCallbackHandler.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)
* <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;
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) {
}
}
/**
* 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) {}
}

@ -43,7 +43,7 @@ public class CRM_syncUnFreezeTimes extends BaseBean {
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();
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);

@ -1,66 +0,0 @@
/**
* SI_HTCRMBlistTempLifting_OUTServiceCallbackHandler.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.crmoa;
/**
* SI_HTCRMBlistTempLifting_OUTServiceCallbackHandler Callback class, Users can extend this class and implement
* their own receiveResult and receiveError methods.
*/
public abstract class SI_HTCRMBlistTempLifting_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_HTCRMBlistTempLifting_OUTServiceCallbackHandler(Object clientData){
this.clientData = clientData;
}
/**
* Please use this constructor if you don't want to set any clientData
*/
public SI_HTCRMBlistTempLifting_OUTServiceCallbackHandler(){
this.clientData = null;
}
/**
* Get the client data
*/
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for sI_HTCRMBlistTempLifting_OUT method
* override this method for handling normal response from sI_HTCRMBlistTempLifting_OUT operation
*/
public void receiveResultsI_HTCRMBlistTempLifting_OUT(
SI_HTCRMBlistTempLifting_OUTServiceStub.CRM_OA_SyncTempUnfreezeListResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from sI_HTCRMBlistTempLifting_OUT operation
*/
public void receiveErrorsI_HTCRMBlistTempLifting_OUT(Exception e) {
}
}

@ -6,8 +6,9 @@ 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_HTOAPayControl_OUTServiceStub.*;
//import com.weaver.seconddev.interfaces.easoa.SI_HTOAPayControl_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.*;
@ -42,22 +43,26 @@ public class CallEasServices extends BaseBean {
* @return
* @throws Exception
*/
public CompanyInfo[] queryOnlineCompanyList() throws Exception {
public PayControlServiceStub.CompanyInfo[] queryOnlineCompanyList() throws Exception {
logger_814f159c.info(String.valueOf("CallEasServices excute start queryOnlineCompanyList------------------------"));
SI_HTOAPayControl_OUTServiceStub easStub = null;
CompanyInfo[] company = null;
PayControlServiceStub easStub = null;
PayControlServiceStub.CompanyInfo[] company = null;
try {
easStub = new SI_HTOAPayControl_OUTServiceStub(url);
easStub = new PayControlServiceStub(url);
easStub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
easStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
auth.setUsername("pouser");
auth.setPassword("654321");
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
QueryOnlineCompanyList list = new QueryOnlineCompanyList();
// HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
// auth.setUsername("pouser");
// auth.setPassword("654321");
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
PayControlServiceStub.QueryOnlineCompanyList list = new PayControlServiceStub.QueryOnlineCompanyList();
list.setCompanyCode("");
QueryOnlineCompanyListResponse response = easStub.company(list);
ResultInfo info = response.get_return();
PayControlServiceStub.QueryOnlineCompanyListResponse response = easStub.queryOnlineCompanyList(list);
PayControlServiceStub.ResultInfo info = response.get_return();
// S:成功 F失败
String result = info.getResult();
//
@ -76,22 +81,22 @@ public class CallEasServices extends BaseBean {
* @return
* @throws Exception
*/
public VendorInfo[] queryVendorInfoList() throws Exception {
public PayControlServiceStub.VendorInfo[] queryVendorInfoList() throws Exception {
logger_814f159c.info(String.valueOf("CallEasServices excute start queryVendorInfoList------------------------"));
SI_HTOAPayControl_OUTServiceStub easStub = null;
VendorInfo[] vendor = null;
PayControlServiceStub easStub = null;
PayControlServiceStub.VendorInfo[] vendor = null;
try {
easStub = new SI_HTOAPayControl_OUTServiceStub(url);
easStub = new PayControlServiceStub(url);
easStub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
easStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
auth.setUsername("pouser");
auth.setPassword("654321");
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
QueryVendorInfoList list = new QueryVendorInfoList();
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
PayControlServiceStub.QueryVendorInfoList list = new PayControlServiceStub.QueryVendorInfoList();
list.setVendorCode("");
QueryVendorInfoListResponse response = easStub.vendor(list);
ResultInfo info = response.get_return();
PayControlServiceStub.QueryVendorInfoListResponse response = easStub.queryVendorInfoList(list);
PayControlServiceStub.ResultInfo info = response.get_return();
// S:成功 F失败
String result = info.getResult();
//
@ -115,26 +120,26 @@ public class CallEasServices extends BaseBean {
*/
public String[] querySourceBoeNum(String[] bzdh, String[] lx, String[] money) throws Exception {
logger_814f159c.info(String.valueOf("CallEasServices excute start querySourceBoeNum------------------------"));
SI_HTOAPayControl_OUTServiceStub easStub = null;
PayControlServiceStub easStub = null;
String[] resultArray = new String[2];
logger_814f159c.info(String.valueOf("querySourceBoeNum bzdh:" + bzdh == null ? "" : bzdh.length));
logger_814f159c.info(String.valueOf("querySourceBoeNum lx:" + lx == null ? "" : lx.length));
logger_814f159c.info(String.valueOf("querySourceBoeNum money" + money == null ? "" : money.length));
try {
easStub = new SI_HTOAPayControl_OUTServiceStub(url);
easStub = new PayControlServiceStub(url);
easStub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
auth.setUsername("pouser");
auth.setPassword("654321");
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
CheckBoeNumParamInfo paraminfo = new CheckBoeNumParamInfo();
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
PayControlServiceStub.CheckBoeNumParamInfo paraminfo = new PayControlServiceStub.CheckBoeNumParamInfo();
paraminfo.setSourceBoeNum(bzdh);
paraminfo.setParamAttribute1(lx);
paraminfo.setParamAttribute2(money);
QuerySourceBoeNum boeNum = new QuerySourceBoeNum();
PayControlServiceStub.QuerySourceBoeNum boeNum = new PayControlServiceStub.QuerySourceBoeNum();
boeNum.setParam(paraminfo);
QuerySourceBoeNumResponse response = easStub.bOE(boeNum);
ResultInfo info = response.get_return();
PayControlServiceStub.QuerySourceBoeNumResponse response = easStub.querySourceBoeNum(boeNum);
PayControlServiceStub.ResultInfo info = response.get_return();
// S:成功 F失败
String result = info.getResult();
//
@ -166,7 +171,7 @@ public class CallEasServices extends BaseBean {
*/
public String[] doPayControl(String oprationtype, String controlobj, String requestId, String lcbh, String creator, String reason, String system_flag, String[] gysid, String[] bzdh, String[] companycode, String[] money, String[] sfhmd, String[] lxArray) throws Exception {
logger_814f159c.info(String.valueOf("CallEasServices excute start doPayControl------------------------"));
SI_HTOAPayControl_OUTServiceStub easStub = null;
PayControlServiceStub easStub = null;
String[] resultArray = new String[2];
logger_814f159c.info(String.valueOf("doPayControl oprationtype:" + oprationtype));
logger_814f159c.info(String.valueOf("doPayControl controlobj:" + controlobj));
@ -182,13 +187,13 @@ public class CallEasServices extends BaseBean {
logger_814f159c.info(String.valueOf("doPayControl sfhmd" + sfhmd == null ? "" : sfhmd.length));
logger_814f159c.info(String.valueOf("doPayControl lxArray" + lxArray == null ? "" : lxArray.length));
try {
easStub = new SI_HTOAPayControl_OUTServiceStub(url);
easStub = new PayControlServiceStub(url);
easStub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
easStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
auth.setUsername("pouser");
auth.setPassword("654321");
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
int num = 0;
if (gysid != null) {
num = gysid.length;
@ -196,9 +201,9 @@ public class CallEasServices extends BaseBean {
if (bzdh != null) {
num = bzdh.length;
}
SiePayControlLModel[] lmodels = new SiePayControlLModel[num];
PayControlServiceStub.SiePayControlLModel[] lmodels = new PayControlServiceStub.SiePayControlLModel[num];
for (int i = 0; i < num; i++) {
SiePayControlLModel lModel = new SiePayControlLModel();
PayControlServiceStub.SiePayControlLModel lModel = new PayControlServiceStub.SiePayControlLModel();
// 公司编码
lModel.setCompanyCode(companycode[i]);
// 供应商ID
@ -213,7 +218,7 @@ public class CallEasServices extends BaseBean {
lModel.setControlType(lxArray[i]);
lmodels[i] = lModel;
}
SiePayControlHModel hModel = new SiePayControlHModel();
PayControlServiceStub.SiePayControlHModel hModel = new PayControlServiceStub.SiePayControlHModel();
// 流程ID
hModel.setFlowId(requestId);
// 流程编号
@ -229,10 +234,10 @@ public class CallEasServices extends BaseBean {
// 系统标识
hModel.setSystem_flag(system_flag);
hModel.setSiePayControlL(lmodels);
DoPayControl doPayControl = new DoPayControl();
PayControlServiceStub.DoPayControl doPayControl = new PayControlServiceStub.DoPayControl();
doPayControl.setSiePayControlH(hModel);
DoPayControlResponse response = easStub.doPay(doPayControl);
ResultInfo info = response.get_return();
PayControlServiceStub.DoPayControlResponse response = easStub.doPayControl(doPayControl);
PayControlServiceStub.ResultInfo info = response.get_return();
// S:成功 F失败
String result = info.getResult();
//
@ -260,7 +265,7 @@ public class CallEasServices extends BaseBean {
*/
public String[] queryPayControlStatus(String type, String[] array, String oprationtype, String[] companyIds) throws Exception {
logger_814f159c.info(String.valueOf("CallEasServices excute start queryPayControlStatus------------------------"));
SI_HTOAPayControl_OUTServiceStub easStub = null;
PayControlServiceStub easStub = null;
String[] resultArray = new String[2];
logger_814f159c.info(String.valueOf("doPayControl type:" + type));
logger_814f159c.info(String.valueOf("doPayControl array:" + array == null ? "" : array.length));
@ -268,21 +273,21 @@ public class CallEasServices extends BaseBean {
logger_814f159c.info(String.valueOf("doPayControl companyIds:" + companyIds == null ? "" : companyIds.length));
try {
// String url = Util.null2String(getPropValue("hteasoasync", "url")).trim();
easStub = new SI_HTOAPayControl_OUTServiceStub(url);
easStub = new PayControlServiceStub(url);
easStub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
auth.setUsername("pouser");
auth.setPassword("654321");
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
CheckStatusParam param = new CheckStatusParam();
easStub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
PayControlServiceStub.CheckStatusParam param = new PayControlServiceStub.CheckStatusParam();
param.setCheckType(type);
param.setCheckData(array);
param.setAttribute1(oprationtype);
param.setAttribute2(companyIds);
QueryPayControlStatus controlStatus = new QueryPayControlStatus();
PayControlServiceStub.QueryPayControlStatus controlStatus = new PayControlServiceStub.QueryPayControlStatus();
controlStatus.setParam(param);
QueryPayControlStatusResponse response = easStub.status(controlStatus);
ResultInfo info = response.get_return();
PayControlServiceStub.QueryPayControlStatusResponse response = easStub.queryPayControlStatus(controlStatus);
PayControlServiceStub.ResultInfo info = response.get_return();
// S:成功 F失败
String result = info.getResult();
//

@ -33,7 +33,7 @@ public class CallSieOAVoucherService extends BaseBean {
info.setSieOaVoucherDO(param);
input.setSieOaVoucherSynchronization(info);
SieOaVoucherServiceStub stub = new SieOaVoucherServiceStub(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);
SieOaVoucherServiceStub.SieOaVoucherServiceResponse response = stub.sieOaVoucherService(input);
logger_89eeb72f.info(String.valueOf("------- do webservice success -------"));

@ -4,6 +4,7 @@ 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;
@ -33,12 +34,12 @@ public class CallTravelApplyService {
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(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();
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
auth.setUsername("pouser");
auth.setPassword("654321");
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
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();

@ -1,98 +1,79 @@
/**
* DelayDateSyncServiceCallbackHandler.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)
* <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;
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(
DelayDateSyncServiceStub.DelayDateSyncServiceResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from delayDateSyncService operation
*/
public void receiveErrordelayDateSyncService(Exception e) {
}
/**
* auto generated Axis2 call back method for getpayControlBusiness method
* override this method for handling normal response from getpayControlBusiness operation
*/
public void receiveResultgetpayControlBusiness(
DelayDateSyncServiceStub.GetpayControlBusinessResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from getpayControlBusiness operation
*/
public void receiveErrorgetpayControlBusiness(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
*/
}
/**
* 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
*/
}

@ -4,6 +4,7 @@ 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.*;
@ -27,15 +28,18 @@ public class EASIntermediarySyncService extends BaseBean {
try {
logger_cd0192cf.info(String.valueOf("调用报账系统中介同步接口开始 --- " + url ));
SI_FiAgncyAssetApplicationSync_OUTServiceStub stub = new SI_FiAgncyAssetApplicationSync_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());
// 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.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];

@ -7,6 +7,7 @@ import com.weaver.seconddev.interfaces.easoa.SI_FeeApplicationSync_OUTServiceSt
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.*;
@ -27,17 +28,22 @@ public class FeeApplicationService extends BaseBean {
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(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());
// 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.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];

@ -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) {}
}

@ -1,66 +1,52 @@
/**
* SI_BusinessTripApplicationSync_OUTServiceCallbackHandler.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)
* <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;
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) {
}
}
/**
* 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) {}
}

@ -1,66 +1,52 @@
/**
* SI_FeeApplicationSync_OUTServiceCallbackHandler.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)
* <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;
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(
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(Exception e) {
}
}
/**
* 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) {}
}

@ -1,66 +1,52 @@
/**
* SI_FiAgncyAssetApplicationSync_OUTServiceCallbackHandler.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)
* <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;
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(Exception e) {
}
}
/**
* 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) {}
}

@ -1,130 +0,0 @@
/**
* SI_HTOAPayControl_OUTServiceCallbackHandler.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.easoa;
/**
* SI_HTOAPayControl_OUTServiceCallbackHandler Callback class, Users can extend this class and implement
* their own receiveResult and receiveError methods.
*/
public abstract class SI_HTOAPayControl_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_HTOAPayControl_OUTServiceCallbackHandler(Object clientData){
this.clientData = clientData;
}
/**
* Please use this constructor if you don't want to set any clientData
*/
public SI_HTOAPayControl_OUTServiceCallbackHandler(){
this.clientData = null;
}
/**
* Get the client data
*/
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for do method
* override this method for handling normal response from do operation
*/
public void receiveResultdo(
SI_HTOAPayControl_OUTServiceStub.DoPayControlResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from do operation
*/
public void receiveErrordo(Exception e) {
}
/**
* auto generated Axis2 call back method for status method
* override this method for handling normal response from status operation
*/
public void receiveResultstatus(
SI_HTOAPayControl_OUTServiceStub.QueryPayControlStatusResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from status operation
*/
public void receiveErrorstatus(Exception e) {
}
/**
* auto generated Axis2 call back method for company method
* override this method for handling normal response from company operation
*/
public void receiveResultcompany(
SI_HTOAPayControl_OUTServiceStub.QueryOnlineCompanyListResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from company operation
*/
public void receiveErrorcompany(Exception e) {
}
/**
* auto generated Axis2 call back method for vendor method
* override this method for handling normal response from vendor operation
*/
public void receiveResultvendor(
SI_HTOAPayControl_OUTServiceStub.QueryVendorInfoListResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from vendor operation
*/
public void receiveErrorvendor(Exception e) {
}
/**
* auto generated Axis2 call back method for bOE method
* override this method for handling normal response from bOE operation
*/
public void receiveResultbOE(
SI_HTOAPayControl_OUTServiceStub.QuerySourceBoeNumResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from bOE operation
*/
public void receiveErrorbOE(Exception e) {
}
}

@ -1,66 +0,0 @@
/**
* SI_InterLoanApplicationSync_OUTServiceCallbackHandler.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.easoa;
/**
* SI_InterLoanApplicationSync_OUTServiceCallbackHandler Callback class, Users can extend this class and implement
* their own receiveResult and receiveError methods.
*/
public abstract class SI_InterLoanApplicationSync_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_InterLoanApplicationSync_OUTServiceCallbackHandler(Object clientData){
this.clientData = clientData;
}
/**
* Please use this constructor if you don't want to set any clientData
*/
public SI_InterLoanApplicationSync_OUTServiceCallbackHandler(){
this.clientData = null;
}
/**
* Get the client data
*/
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for sI_InterLoanApplicationSync_OUT method
* override this method for handling normal response from sI_InterLoanApplicationSync_OUT operation
*/
public void receiveResultsI_InterLoanApplicationSync_OUT(
SI_InterLoanApplicationSync_OUTServiceStub.InternalBorrowingServiceResponse result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from sI_InterLoanApplicationSync_OUT operation
*/
public void receiveErrorsI_InterLoanApplicationSync_OUT(Exception e) {
}
}

@ -1,66 +1,52 @@
/**
* SI_WhitelistSync_OUTServiceCallbackHandler.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)
* <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;
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) {
}
}
/**
* 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) {}
}

@ -1,84 +1,67 @@
/**
* SieOaVoucherServiceCallbackHandler.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)
* <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;
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;
/**
* SieOaVoucherServiceCallbackHandler Callback class, Users can extend this class and implement
* their own receiveResult and receiveError methods.
*/
public abstract class SieOaVoucherServiceCallbackHandler {
/**
* 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;
}
protected Object clientData;
/**
* Please use this constructor if you don't want to set any clientData
*/
public SieOaVoucherServiceCallbackHandler(){
this.clientData = null;
}
/**
* 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;
}
/**
* Get the client data
*/
/** Please use this constructor if you don't want to set any clientData */
public SieOaVoucherServiceCallbackHandler() {
this.clientData = null;
}
public Object getClientData() {
return clientData;
}
/** 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 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
* getBoeBusiness operation
*/
public void receiveErrorgetBoeBusiness(Exception e) {}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from sieOaVoucherService operation
*/
public void receiveErrorsieOaVoucherService(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) {}
}

@ -6,6 +6,7 @@ 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;
@ -25,15 +26,15 @@ public class AccountService extends BaseBean {
try {
logger_18cc50ce.info(String.valueOf("开始调用批量开户销户接口"));
SI_HTPortalUAMGMT2_OUTServiceStub stub = new SI_HTPortalUAMGMT2_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();
// 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.transport.http.HTTPConstants.AUTHENTICATE, auth);
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);

@ -8,6 +8,7 @@ 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;
@ -27,14 +28,15 @@ public class MesAccountService extends BaseBean {
try {
logger_8f904fbd.info(String.valueOf("开始调用门户金思维MES批量开户销户接口"));
SI_HTPortalFuncSync_OUTServiceStub stub = new SI_HTPortalFuncSync_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();
// 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.transport.http.HTTPConstants.AUTHENTICATE, auth);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
UserOaAccount request = new UserOaAccount();
request.setUser(param);
UserOaAccountResponse response = stub.sI_HTPortalFuncSync_OUT(request);

@ -6,6 +6,7 @@ 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;
@ -64,15 +65,16 @@ public class PortalPlanService extends BaseBean {
// 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(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();
// 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.transport.http.HTTPConstants.AUTHENTICATE, auth);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
return stub;
}
}

@ -1,66 +1,51 @@
/**
* SI_HTPortalFuncSync_OUTServiceCallbackHandler.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)
* <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;
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) {
}
}
/**
* 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) {}
}

@ -1,98 +1,79 @@
/**
* SI_HTPortalPlan_OUTServiceCallbackHandler.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)
* <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;
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) {
}
}
/**
* 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) {}
}

@ -1,66 +1,51 @@
/**
* SI_HTPortalUAMGMT2_OUTServiceCallbackHandler.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)
* <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;
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) {
}
}
/**
* 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) {}
}

@ -30,7 +30,7 @@ public class ZMES_OA_SUBMIT_SERVICE extends BaseBean {
}
logger_b6665baf.info(String.valueOf(requestid + " url:" + url));
ZMES_OA_SUBMIT_SERVICEStub stub = new ZMES_OA_SUBMIT_SERVICEStub(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);
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();

@ -1,66 +1,51 @@
/**
* ZMES_OA_SUBMIT_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)
* <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;
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) {
}
}
/**
* 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) {}
}

@ -4,6 +4,7 @@ import com.weaver.seconddev.interfaces.prop.ConfigProp;
import org.apache.axis2.transport.http.HttpTransportProperties;
import com.weaver.seconddev.interfaces.k3.SI_HTOAPurreqAPPROSync_OUTServiceStub.OAPRResultItemIn;
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.*;
@ -25,15 +26,16 @@ public class ApprovalResultService extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.approval_url")).trim();
String url = configProp.getApproval_url();
SI_HTOAPurreqAPPROSync_OUTServiceStub stub = new SI_HTOAPurreqAPPROSync_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();
// 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.transport.http.HTTPConstants.AUTHENTICATE, auth);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
SI_HTOAPurreqAPPROSync_OUTServiceStub.Oa2K3PurchaseRequestResult request = new SI_HTOAPurreqAPPROSync_OUTServiceStub.Oa2K3PurchaseRequestResult();
SI_HTOAPurreqAPPROSync_OUTServiceStub.OAPRResultIn resultIn = new SI_HTOAPurreqAPPROSync_OUTServiceStub.OAPRResultIn();
SI_HTOAPurreqAPPROSync_OUTServiceStub.ArrayOfOAPRResultItemIn array = new SI_HTOAPurreqAPPROSync_OUTServiceStub.ArrayOfOAPRResultItemIn();

@ -32,7 +32,7 @@ public class CallK3CustomerService extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.customer_url")).trim();
String url = configProp.getCustomer_url();
CustomerServiceStub stub = new CustomerServiceStub(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(getPropValue("htportaloaUrl", "po_user")).trim());
@ -60,7 +60,7 @@ public class CallK3CustomerService extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.customer_url")).trim();
String url = configProp.getCustomer_url();
CustomerServiceStub stub = new CustomerServiceStub(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(getPropValue("htportaloaUrl", "po_user")).trim());
@ -89,7 +89,7 @@ public class CallK3CustomerService extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.customer_url")).trim();
String url = configProp.getCustomer_url();
CustomerServiceStub stub = new CustomerServiceStub(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(getPropValue("htportaloaUrl", "po_user")).trim());

@ -31,7 +31,7 @@ public class CallK3SupplierServices extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.supplier_url")).trim();
String url = configProp.getSupplier_url();
SupplierServiceStub stub = new SupplierServiceStub(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(getPropValue("htportaloaUrl", "po_user")).trim());
@ -60,7 +60,7 @@ public class CallK3SupplierServices extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.supplier_url")).trim();
String url = configProp.getSupplier_url();
SupplierServiceStub stub = new SupplierServiceStub(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(getPropValue("htportaloaUrl", "po_user")).trim());
@ -84,7 +84,7 @@ public class CallK3SupplierServices extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.supplier_url")).trim();
String url = configProp.getSupplier_url();
SupplierServiceStub stub = new SupplierServiceStub(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(getPropValue("htportaloaUrl", "po_user")).trim());

@ -23,7 +23,7 @@ public class CallPORequestService extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.porequest_url")).trim();
String url = configProp.getPorequest_url();
PORequestServiceStub stub = new PORequestServiceStub(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(getPropValue("htportaloaUrl", "po_user")).trim());

@ -33,7 +33,7 @@ public class GiftQtyService extends BaseBean {
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(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
GiftStockReq req = new GiftStockReq();
req.setUser("oa");

@ -1,66 +1,52 @@
/**
* SI_HTOAPurreqAPPROSync_OUTServiceCallbackHandler.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)
* <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;
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) {
}
}
/**
* 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) {}
}

@ -28,7 +28,7 @@ public class TransferBillService extends BaseBean {
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htk3oasync.lplyhtk_url")).trim();
String url = configProp.getLplysl_url();
TransferBillServiceStub stub = new TransferBillServiceStub(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);
BuildTransferBill req = new BuildTransferBill();
req.setObj(param);

@ -31,7 +31,7 @@ public class CallMesChuMenZhengService extends BaseBean {
// 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(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
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();

@ -21,7 +21,7 @@ public class CallMesKeSuService extends BaseBean {
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(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
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();

@ -24,7 +24,7 @@ public class CallMesNewMaterialCertificationService extends BaseBean {
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(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
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();

@ -24,7 +24,7 @@ public class CallMesNewMaterialProjectService extends BaseBean {
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(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
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();

@ -24,7 +24,7 @@ public class CallMesNewMaterialTSBGSerivce extends BaseBean {
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(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
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();

@ -24,7 +24,7 @@ public class CallMesNewMaterialTestService extends BaseBean {
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(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
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();

@ -5,6 +5,7 @@ import org.apache.axis2.transport.http.HttpTransportProperties;
import com.weaver.seconddev.interfaces.oames.SI_OA_HTOAApproFlowSync_OUTServiceStub.SendReq;
import com.weaver.seconddev.interfaces.oames.SI_OA_HTOAApproFlowSync_OUTServiceStub.WLPS_SY_Request;
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.*;
@ -27,14 +28,15 @@ public class ReturnMesWLPS_SYService extends BaseBean {
try {
logger_d5127138.info(String.valueOf("开始调用ReturnMesWLPS_SYService接口"));
SI_OA_HTOAApproFlowSync_OUTServiceStub stub = new SI_OA_HTOAApproFlowSync_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();
// 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.transport.http.HTTPConstants.AUTHENTICATE, auth);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
SendReq sendReq = new SendReq();
sendReq.setWLPS_SY_Req(param);
stub.sI_OA_HTOAApproFlowSync_OUT(sendReq);

@ -0,0 +1,40 @@
/**
* SI_OA_HTOAApproFlowSync_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.oames;
/**
* SI_OA_HTOAApproFlowSync_OUTServiceCallbackHandler Callback class, Users can extend this class and
* implement their own receiveResult and receiveError methods.
*/
public abstract class SI_OA_HTOAApproFlowSync_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_OA_HTOAApproFlowSync_OUTServiceCallbackHandler(Object clientData) {
this.clientData = clientData;
}
/** Please use this constructor if you don't want to set any clientData */
public SI_OA_HTOAApproFlowSync_OUTServiceCallbackHandler() {
this.clientData = null;
}
/** Get the client data */
public Object getClientData() {
return clientData;
}
// No methods generated for meps other than in-out
}

@ -47,7 +47,7 @@ public class CallSrmCheckMallServices extends BaseBean {
wsdlLocation = configProp.getHtshop();
logger_a0ca618e.info("wsdlLocation--" + wsdlLocation);
stub = new MallPurReqChkServiceServiceStub(wsdlLocation);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
logger_a0ca618e.info("stub--" + stub);
// 设置传入参数
MallPurReqChkServiceServiceStub.MALL_OA_PUR_REQ_CHK_RESULTE createRequest = new MallPurReqChkServiceServiceStub.MALL_OA_PUR_REQ_CHK_RESULTE();

@ -43,7 +43,7 @@ public class CallSrmCheckPriceServices extends BaseBean {
wsdlLocation = configProp.getBjdsp();
stub = new RfqCheckPriceHandlerServiceServiceStub(wsdlLocation);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
stub._getServiceClient().getOptions().setProperty("__CHUNKED__", Boolean.FALSE);
// 设置传入参数
RfqCheckPriceHandlerServiceServiceStub.SRM_OA_CHECK_PRICE_RESULTE createRequest = new RfqCheckPriceHandlerServiceServiceStub.SRM_OA_CHECK_PRICE_RESULTE();
RfqCheckPriceHandlerServiceServiceStub.SRM_OA_CHECK_PRICE_RESULT oasrmresult = new RfqCheckPriceHandlerServiceServiceStub.SRM_OA_CHECK_PRICE_RESULT();

@ -2,30 +2,37 @@ package com.weaver.seconddev.interfaces.srmoa;
import java.rmi.RemoteException;
import java.lang.*;
import com.weaver.seconddev.interfaces.prop.ConfigProp;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.weaver.verupgrade.general.BaseBean;
import org.springframework.beans.factory.annotation.Autowired;
public class CallSrmServices extends BaseBean {
private static final org.slf4j.Logger logger_a535240a = LoggerFactory.getLogger(CallSrmServices.class);
private OaSrmVendorPropmtionServiceServiceStub.OaInputVendor oainputvendor = null;
@Autowired
private static ConfigProp configProp;
public void setOainputvendor(OaSrmVendorPropmtionServiceServiceStub.OaInputVendor oasrm) {
this.oainputvendor = oasrm;
}
public String[] call() throws RemoteException {
// this(configurationContext, Prop.getPropValue("htsrmoasync","gyszznew"));
String url = configProp.getGyszznew();
logger_a535240a.info(String.valueOf("调用接口------------------------开始"));
OaSrmVendorPropmtionServiceServiceStub stub = new OaSrmVendorPropmtionServiceServiceStub();
OaSrmVendorPropmtionServiceServiceStub stub = new OaSrmVendorPropmtionServiceServiceStub(url);
// 设置传入参数
OaSrmVendorPropmtionServiceServiceStub.OA_SRM_VENDOR_PROPMTIONE createRequest = new OaSrmVendorPropmtionServiceServiceStub.OA_SRM_VENDOR_PROPMTIONE();
OaSrmVendorPropmtionServiceServiceStub.OA_SRM_VENDOR_PROPMTION oasrmvendor = new OaSrmVendorPropmtionServiceServiceStub.OA_SRM_VENDOR_PROPMTION();
oasrmvendor.setInputTab(oainputvendor);
createRequest.setOA_SRM_VENDOR_PROPMTION(oasrmvendor);
OaSrmVendorPropmtionServiceServiceStub.OA_SRM_VENDOR_PROPMTIONResponseE resp = null;
resp = stub.OA_SRM_VENDOR_PROPMTION(createRequest);
resp = stub.oA_SRM_VENDOR_PROPMTION(createRequest);
// resp = stub.OA_SRM_VENDOR_PROPMTION(createRequest);
logger_a535240a.info(String.valueOf("调用接口------------------------完成"));
OaSrmVendorPropmtionServiceServiceStub.OaOutputVendor oaoutvendor = resp.getOA_SRM_VENDOR_PROPMTIONResponse().getOutputTab();
// 封装返回

@ -1,26 +1,33 @@
package com.weaver.seconddev.interfaces.srmoa;
import java.lang.*;
import com.weaver.seconddev.interfaces.prop.ConfigProp;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.weaver.verupgrade.general.BaseBean;
import org.springframework.beans.factory.annotation.Autowired;
/**
*
*/
public class CallSrmVenMatExtsSevices extends BaseBean {
@Autowired
private ConfigProp configProp;
private static final org.slf4j.Logger logger_8da144ad = LoggerFactory.getLogger(CallSrmVenMatExtsSevices.class);
public String[] call(VenMatExtsHandlerServiceServiceStub.VenMatExtsRusultIn param, String requestid) throws Exception {
logger_8da144ad.info(String.valueOf(requestid + " 调用接口------------------------开始"));
logger_8da144ad.info(String.valueOf(requestid + " param == " + param.toString()));
VenMatExtsHandlerServiceServiceStub stub = new VenMatExtsHandlerServiceServiceStub();
// this(configurationContext, Prop.getPropValue("htsrmoasync","htsrm_oa_venmatsextnew") );
String url = configProp.getHtsrm_oa_venmatsextnew();
VenMatExtsHandlerServiceServiceStub stub = new VenMatExtsHandlerServiceServiceStub(url);
VenMatExtsHandlerServiceServiceStub.SRM_OA_VENMATEXTS_RESULTE res = new VenMatExtsHandlerServiceServiceStub.SRM_OA_VENMATEXTS_RESULTE();
VenMatExtsHandlerServiceServiceStub.SRM_OA_VENMATEXTS_RESULT sovr = new VenMatExtsHandlerServiceServiceStub.SRM_OA_VENMATEXTS_RESULT();
sovr.setInputTab(param);
res.setSRM_OA_VENMATEXTS_RESULT(sovr);
VenMatExtsHandlerServiceServiceStub.SRM_OA_VENMATEXTS_RESULTResponseE resp = stub.SRM_OA_VENMATEXTS_RESULT(res);
// VenMatExtsHandlerServiceServiceStub.SRM_OA_VENMATEXTS_RESULTResponseE resp = stub.SRM_OA_VENMATEXTS_RESULT(res);
VenMatExtsHandlerServiceServiceStub.SRM_OA_VENMATEXTS_RESULTResponseE resp = stub.sRM_OA_VENMATEXTS_RESULT(res);
logger_8da144ad.info(String.valueOf(requestid + " 调用接口------------------------完成"));
VenMatExtsHandlerServiceServiceStub.VenMatExtsResultOut resultout = resp.getSRM_OA_VENMATEXTS_RESULTResponse().getOutputTab();
// 封装返回

@ -6,9 +6,12 @@ package com.weaver.seconddev.interfaces.srmoa;
import java.rmi.RemoteException;
import java.lang.*;
import com.weaver.seconddev.interfaces.prop.ConfigProp;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.weaver.verupgrade.general.BaseBean;
import org.springframework.beans.factory.annotation.Autowired;
// Referenced classes of package com.weaver.seconddev.interfaces.srmoa:
// OaSrmVendorPropmtionServiceServiceStub
@ -17,7 +20,8 @@ public class CallVdDlvApplyServices extends BaseBean {
private static final org.slf4j.Logger logger_5d55910e = LoggerFactory.getLogger(CallVdDlvApplyServices.class);
private VdDlvApplyHandlerServiceServiceStub.DlvApplyIn dlvapplyin;
@Autowired
private ConfigProp configProp;
public CallVdDlvApplyServices() {
dlvapplyin = null;
}
@ -28,12 +32,15 @@ public class CallVdDlvApplyServices extends BaseBean {
public String[] call() throws RemoteException {
logger_5d55910e.info(String.valueOf("调用CallVdDlvApplyServices webservice start ......"));
VdDlvApplyHandlerServiceServiceStub stub = new VdDlvApplyHandlerServiceServiceStub();
// this(configurationContext, Prop.getPropValue("htsrmoasync","gysxznew") );
String url = configProp.getGysxznew();
VdDlvApplyHandlerServiceServiceStub stub = new VdDlvApplyHandlerServiceServiceStub(url);
VdDlvApplyHandlerServiceServiceStub.OA_SRM_VD_DLV_APPLY oa_srm_vd_dlv_apply = new VdDlvApplyHandlerServiceServiceStub.OA_SRM_VD_DLV_APPLY();
VdDlvApplyHandlerServiceServiceStub.OA_SRM_VD_DLV_APPLYE oa_srm_vd_dlv_applye = new VdDlvApplyHandlerServiceServiceStub.OA_SRM_VD_DLV_APPLYE();
oa_srm_vd_dlv_apply.setInputTab(dlvapplyin);
oa_srm_vd_dlv_applye.setOA_SRM_VD_DLV_APPLY(oa_srm_vd_dlv_apply);
VdDlvApplyHandlerServiceServiceStub.OA_SRM_VD_DLV_APPLYResponseE oa_srm_vd_dlv_applyresponsee = stub.OA_SRM_VD_DLV_APPLY(oa_srm_vd_dlv_applye);
VdDlvApplyHandlerServiceServiceStub.OA_SRM_VD_DLV_APPLYResponseE oa_srm_vd_dlv_applyresponsee = stub.oA_SRM_VD_DLV_APPLY(oa_srm_vd_dlv_applye);
VdDlvApplyHandlerServiceServiceStub.OA_SRM_VD_DLV_APPLYResponse response = oa_srm_vd_dlv_applyresponsee.getOA_SRM_VD_DLV_APPLYResponse();
VdDlvApplyHandlerServiceServiceStub.DlvApplyOut oaoutputvendor = response.getOutputTab();
logger_5d55910e.info(String.valueOf("调用CallVdDlvApplyServices webservice success ......"));

@ -1,66 +1,52 @@
/**
* MallPurReqChkServiceServiceCallbackHandler.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)
* <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.srmoa;
package com.weaver.seconddev.interfaces.srmoa;
/**
* MallPurReqChkServiceServiceCallbackHandler Callback class, Users can extend this class and implement
* their own receiveResult and receiveError methods.
*/
public abstract class MallPurReqChkServiceServiceCallbackHandler{
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 MallPurReqChkServiceServiceCallbackHandler(Object clientData){
this.clientData = clientData;
}
/**
* Please use this constructor if you don't want to set any clientData
*/
public MallPurReqChkServiceServiceCallbackHandler(){
this.clientData = null;
}
/**
* Get the client data
*/
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for mALL_OA_PUR_REQ_CHK_RESULT method
* override this method for handling normal response from mALL_OA_PUR_REQ_CHK_RESULT operation
*/
public void receiveResultmALL_OA_PUR_REQ_CHK_RESULT(
MallPurReqChkServiceServiceStub.MALL_OA_PUR_REQ_CHK_RESULTResponseE result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from mALL_OA_PUR_REQ_CHK_RESULT operation
*/
public void receiveErrormALL_OA_PUR_REQ_CHK_RESULT(Exception e) {
}
}
/**
* MallPurReqChkServiceServiceCallbackHandler Callback class, Users can extend this class and
* implement their own receiveResult and receiveError methods.
*/
public abstract class MallPurReqChkServiceServiceCallbackHandler {
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 MallPurReqChkServiceServiceCallbackHandler(Object clientData) {
this.clientData = clientData;
}
/** Please use this constructor if you don't want to set any clientData */
public MallPurReqChkServiceServiceCallbackHandler() {
this.clientData = null;
}
/** Get the client data */
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for mALL_OA_PUR_REQ_CHK_RESULT method override this
* method for handling normal response from mALL_OA_PUR_REQ_CHK_RESULT operation
*/
public void receiveResultmALL_OA_PUR_REQ_CHK_RESULT(
com.weaver.seconddev.interfaces.srmoa.MallPurReqChkServiceServiceStub
.MALL_OA_PUR_REQ_CHK_RESULTResponseE
result) {}
/**
* auto generated Axis2 Error handler override this method for handling error response from
* mALL_OA_PUR_REQ_CHK_RESULT operation
*/
public void receiveErrormALL_OA_PUR_REQ_CHK_RESULT(java.lang.Exception e) {}
}

@ -4,6 +4,7 @@ import com.weaver.seconddev.interfaces.prop.ConfigProp;
import org.apache.axis2.transport.http.HttpTransportProperties;
import com.weaver.seconddev.interfaces.srmoa.SI_GoodsSupplyExpanding_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.*;
@ -29,19 +30,20 @@ public class OaSrmVenMatExtService extends BaseBean {
logger_333d882d.info(String.valueOf("调用SRM供应商货源关系接口开始"));
SI_GoodsSupplyExpanding_OUTServiceStub stub = new SI_GoodsSupplyExpanding_OUTServiceStub(url);
logger_333d882d.info("stub--" + stub);
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);
logger_333d882d.info("stub--" + stub);
HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
// 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());
// TODO custom 无法获取config
// auth.setUsername(configProp.getPo_user());
// auth.setPassword(configProp.getPo_password());
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
auth.setUsername("pouser");
auth.setPassword("654321");
logger_333d882d.info("auth--" + auth);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
logger_333d882d.info("stub--" + stub);
SRM_OA_VENMATEXT_RESULTE req = new SRM_OA_VENMATEXT_RESULTE();
req.setSRM_OA_VENMATEXT_RESULT(param);
@ -67,10 +69,13 @@ public class OaSrmVenMatExtService extends BaseBean {
String[] str = new String[3];
try {
logger_333d882d.info(String.valueOf(requestid + "调用SRM供应商货源关系接口开始"));
VenMatExtHandlerServiceServiceStub vhss = new VenMatExtHandlerServiceServiceStub();
// this(configurationContext, Prop.getPropValue("htsrmoasync","SrmVenMatExtnew") );
String url = configProp.getSrmVenMatExtnew();
VenMatExtHandlerServiceServiceStub vhss = new VenMatExtHandlerServiceServiceStub(url);
VenMatExtHandlerServiceServiceStub.SRM_OA_VENMATEXT_RESULTE srt = new VenMatExtHandlerServiceServiceStub.SRM_OA_VENMATEXT_RESULTE();
srt.setSRM_OA_VENMATEXT_RESULT(param);
VenMatExtHandlerServiceServiceStub.SRM_OA_VENMATEXT_RESULTResponseE res = vhss.SRM_OA_VENMATEXT_RESULT(srt);
// VenMatExtHandlerServiceServiceStub.SRM_OA_VENMATEXT_RESULTResponseE res = vhss.SRM_OA_VENMATEXT_RESULT(srt);
VenMatExtHandlerServiceServiceStub.SRM_OA_VENMATEXT_RESULTResponseE res = vhss.sRM_OA_VENMATEXT_RESULT(srt);
VenMatExtHandlerServiceServiceStub.VenMatExtResultOut resultOut = res.getSRM_OA_VENMATEXT_RESULTResponse().getOutputTab();
str[0] = resultOut.getIstat();
str[1] = resultOut.getMsg();

@ -0,0 +1,52 @@
/**
* OaSrmVendorPropmtionServiceServiceCallbackHandler.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.srmoa;
/**
* OaSrmVendorPropmtionServiceServiceCallbackHandler Callback class, Users can extend this class and
* implement their own receiveResult and receiveError methods.
*/
public abstract class OaSrmVendorPropmtionServiceServiceCallbackHandler {
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 OaSrmVendorPropmtionServiceServiceCallbackHandler(Object clientData) {
this.clientData = clientData;
}
/** Please use this constructor if you don't want to set any clientData */
public OaSrmVendorPropmtionServiceServiceCallbackHandler() {
this.clientData = null;
}
/** Get the client data */
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for oA_SRM_VENDOR_PROPMTION method override this method
* for handling normal response from oA_SRM_VENDOR_PROPMTION operation
*/
public void receiveResultoA_SRM_VENDOR_PROPMTION(
com.weaver.seconddev.interfaces.srmoa.OaSrmVendorPropmtionServiceServiceStub
.OA_SRM_VENDOR_PROPMTIONResponseE
result) {}
/**
* auto generated Axis2 Error handler override this method for handling error response from
* oA_SRM_VENDOR_PROPMTION operation
*/
public void receiveErroroA_SRM_VENDOR_PROPMTION(java.lang.Exception e) {}
}

@ -1,66 +1,52 @@
/**
* RfqCheckPriceHandlerServiceServiceCallbackHandler.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)
* <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.srmoa;
package com.weaver.seconddev.interfaces.srmoa;
/**
* RfqCheckPriceHandlerServiceServiceCallbackHandler Callback class, Users can extend this class and implement
* their own receiveResult and receiveError methods.
*/
public abstract class RfqCheckPriceHandlerServiceServiceCallbackHandler{
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 RfqCheckPriceHandlerServiceServiceCallbackHandler(Object clientData){
this.clientData = clientData;
}
/**
* Please use this constructor if you don't want to set any clientData
*/
public RfqCheckPriceHandlerServiceServiceCallbackHandler(){
this.clientData = null;
}
/**
* Get the client data
*/
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for sRM_OA_CHECK_PRICE_RESULT method
* override this method for handling normal response from sRM_OA_CHECK_PRICE_RESULT operation
*/
public void receiveResultsRM_OA_CHECK_PRICE_RESULT(
RfqCheckPriceHandlerServiceServiceStub.SRM_OA_CHECK_PRICE_RESULTResponseE result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from sRM_OA_CHECK_PRICE_RESULT operation
*/
public void receiveErrorsRM_OA_CHECK_PRICE_RESULT(Exception e) {
}
}
/**
* RfqCheckPriceHandlerServiceServiceCallbackHandler Callback class, Users can extend this class and
* implement their own receiveResult and receiveError methods.
*/
public abstract class RfqCheckPriceHandlerServiceServiceCallbackHandler {
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 RfqCheckPriceHandlerServiceServiceCallbackHandler(Object clientData) {
this.clientData = clientData;
}
/** Please use this constructor if you don't want to set any clientData */
public RfqCheckPriceHandlerServiceServiceCallbackHandler() {
this.clientData = null;
}
/** Get the client data */
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for sRM_OA_CHECK_PRICE_RESULT method override this method
* for handling normal response from sRM_OA_CHECK_PRICE_RESULT operation
*/
public void receiveResultsRM_OA_CHECK_PRICE_RESULT(
com.weaver.seconddev.interfaces.srmoa.RfqCheckPriceHandlerServiceServiceStub
.SRM_OA_CHECK_PRICE_RESULTResponseE
result) {}
/**
* auto generated Axis2 Error handler override this method for handling error response from
* sRM_OA_CHECK_PRICE_RESULT operation
*/
public void receiveErrorsRM_OA_CHECK_PRICE_RESULT(java.lang.Exception e) {}
}

@ -1,66 +1,52 @@
/**
* SI_GoodsSupplyExpanding_OUTServiceCallbackHandler.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)
* <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.srmoa;
package com.weaver.seconddev.interfaces.srmoa;
/**
* SI_GoodsSupplyExpanding_OUTServiceCallbackHandler Callback class, Users can extend this class and implement
* their own receiveResult and receiveError methods.
*/
public abstract class SI_GoodsSupplyExpanding_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_GoodsSupplyExpanding_OUTServiceCallbackHandler(Object clientData){
this.clientData = clientData;
}
/**
* Please use this constructor if you don't want to set any clientData
*/
public SI_GoodsSupplyExpanding_OUTServiceCallbackHandler(){
this.clientData = null;
}
/**
* Get the client data
*/
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for sI_GoodsSupplyExpanding_OUT method
* override this method for handling normal response from sI_GoodsSupplyExpanding_OUT operation
*/
public void receiveResultsI_GoodsSupplyExpanding_OUT(
SI_GoodsSupplyExpanding_OUTServiceStub.SRM_OA_VENMATEXT_RESULTResponseE result
) {
}
/**
* auto generated Axis2 Error handler
* override this method for handling error response from sI_GoodsSupplyExpanding_OUT operation
*/
public void receiveErrorsI_GoodsSupplyExpanding_OUT(Exception e) {
}
}
/**
* SI_GoodsSupplyExpanding_OUTServiceCallbackHandler Callback class, Users can extend this class and
* implement their own receiveResult and receiveError methods.
*/
public abstract class SI_GoodsSupplyExpanding_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_GoodsSupplyExpanding_OUTServiceCallbackHandler(Object clientData) {
this.clientData = clientData;
}
/** Please use this constructor if you don't want to set any clientData */
public SI_GoodsSupplyExpanding_OUTServiceCallbackHandler() {
this.clientData = null;
}
/** Get the client data */
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for sI_GoodsSupplyExpanding_OUT method override this
* method for handling normal response from sI_GoodsSupplyExpanding_OUT operation
*/
public void receiveResultsI_GoodsSupplyExpanding_OUT(
SI_GoodsSupplyExpanding_OUTServiceStub
.SRM_OA_VENMATEXT_RESULTResponseE
result) {}
/**
* auto generated Axis2 Error handler override this method for handling error response from
* sI_GoodsSupplyExpanding_OUT operation
*/
public void receiveErrorsI_GoodsSupplyExpanding_OUT(Exception e) {}
}

@ -0,0 +1,52 @@
/**
* VdDlvApplyHandlerServiceServiceCallbackHandler.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.srmoa;
/**
* VdDlvApplyHandlerServiceServiceCallbackHandler Callback class, Users can extend this class and
* implement their own receiveResult and receiveError methods.
*/
public abstract class VdDlvApplyHandlerServiceServiceCallbackHandler {
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 VdDlvApplyHandlerServiceServiceCallbackHandler(Object clientData) {
this.clientData = clientData;
}
/** Please use this constructor if you don't want to set any clientData */
public VdDlvApplyHandlerServiceServiceCallbackHandler() {
this.clientData = null;
}
/** Get the client data */
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for oA_SRM_VD_DLV_APPLY method override this method for
* handling normal response from oA_SRM_VD_DLV_APPLY operation
*/
public void receiveResultoA_SRM_VD_DLV_APPLY(
VdDlvApplyHandlerServiceServiceStub
.OA_SRM_VD_DLV_APPLYResponseE
result) {}
/**
* auto generated Axis2 Error handler override this method for handling error response from
* oA_SRM_VD_DLV_APPLY operation
*/
public void receiveErroroA_SRM_VD_DLV_APPLY(Exception e) {}
}

@ -0,0 +1,52 @@
/**
* VenMatExtHandlerServiceServiceCallbackHandler.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.srmoa;
/**
* VenMatExtHandlerServiceServiceCallbackHandler Callback class, Users can extend this class and
* implement their own receiveResult and receiveError methods.
*/
public abstract class VenMatExtHandlerServiceServiceCallbackHandler {
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 VenMatExtHandlerServiceServiceCallbackHandler(Object clientData) {
this.clientData = clientData;
}
/** Please use this constructor if you don't want to set any clientData */
public VenMatExtHandlerServiceServiceCallbackHandler() {
this.clientData = null;
}
/** Get the client data */
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for sRM_OA_VENMATEXT_RESULT method override this method
* for handling normal response from sRM_OA_VENMATEXT_RESULT operation
*/
public void receiveResultsRM_OA_VENMATEXT_RESULT(
com.weaver.seconddev.interfaces.srmoa.VenMatExtHandlerServiceServiceStub
.SRM_OA_VENMATEXT_RESULTResponseE
result) {}
/**
* auto generated Axis2 Error handler override this method for handling error response from
* sRM_OA_VENMATEXT_RESULT operation
*/
public void receiveErrorsRM_OA_VENMATEXT_RESULT(java.lang.Exception e) {}
}

@ -0,0 +1,52 @@
/**
* VenMatExtsHandlerServiceServiceCallbackHandler.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.srmoa;
/**
* VenMatExtsHandlerServiceServiceCallbackHandler Callback class, Users can extend this class and
* implement their own receiveResult and receiveError methods.
*/
public abstract class VenMatExtsHandlerServiceServiceCallbackHandler {
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 VenMatExtsHandlerServiceServiceCallbackHandler(Object clientData) {
this.clientData = clientData;
}
/** Please use this constructor if you don't want to set any clientData */
public VenMatExtsHandlerServiceServiceCallbackHandler() {
this.clientData = null;
}
/** Get the client data */
public Object getClientData() {
return clientData;
}
/**
* auto generated Axis2 call back method for sRM_OA_VENMATEXTS_RESULT method override this method
* for handling normal response from sRM_OA_VENMATEXTS_RESULT operation
*/
public void receiveResultsRM_OA_VENMATEXTS_RESULT(
com.weaver.seconddev.interfaces.srmoa.VenMatExtsHandlerServiceServiceStub
.SRM_OA_VENMATEXTS_RESULTResponseE
result) {}
/**
* auto generated Axis2 Error handler override this method for handling error response from
* sRM_OA_VENMATEXTS_RESULT operation
*/
public void receiveErrorsRM_OA_VENMATEXTS_RESULT(java.lang.Exception e) {}
}

@ -1,529 +0,0 @@
package com.weaver.seconddev.interfaces.swfa.sl;
import com.alibaba.csp.sentinel.command.annotation.CommandMapping;
import com.weaver.seconddev.interfaces.prop.ConfigProp;
import net.sf.json.JSONObject;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.rmi.RemoteException;
import java.security.MessageDigest;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map.Entry;
import java.util.Set;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import com.weaver.verupgrade.conn.CONN_TYPE;
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.conn.RecordSet;
import com.weaver.verupgrade.general.BaseBean;
import com.weaver.verupgrade.general.Util;
import org.springframework.stereotype.Component;
/**
* Webs ???ò??????
* @author Administrator
*/
@Component
public class CallSLServices extends BaseBean {
private static final org.slf4j.Logger logger_6fef4f91 = LoggerFactory.getLogger(CallSLServices.class);
private HashMap errandBill = null;
private ArrayList<HashMap> journey = null;
private ArrayList<HashMap> companionInfo = null;
private HashMap extInfo = null;
private CreateBillSrvStub.ErrandBillInfo errandBill1 = null;
private CreateBillSrvStub.JourneyInfo[] journeys = null;
private CreateBillSrvStub.MapString[] extInfos = null;
private CreateBillSrvStub.CompanionInfo[] companionInfos = null;
public void setErrandBillInfo(HashMap errand) {
this.errandBill = errand;
}
public void setJourneyInfo(ArrayList<HashMap> journey) {
this.journey = journey;
}
public void setCompanionInfo(ArrayList<HashMap> companionInfo) {
this.companionInfo = companionInfo;
}
public void setMapString(HashMap extInfo) {
this.extInfo = extInfo;
}
@Autowired
private ConfigProp configProp;
// 调用中兴接口
public String[] call() throws RemoteException {
CreateBillSrvStub stub = null;
// String wsdlLocation = GetServicesURL();
// String wsdlLocation = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.ServicesURL")).trim();
String wsdlLocation = configProp.getServicesURL();
stub = new CreateBillSrvStub(wsdlLocation);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE);
CreateBillSrvStub.CreateBillRequest createBillRequest = new CreateBillSrvStub.CreateBillRequest();
Date now = new Date();
CreateBillSrvStub.ErrandBillInfo bill = new CreateBillSrvStub.ErrandBillInfo();
// 封装单据主信息
// 封装单据主信息
if (errandBill != null && !errandBill.isEmpty()) {
Set<Entry<String, String>> sets = errandBill.entrySet();
for (Entry<String, String> entry : sets) {
if (entry.getKey().equals("sourceType")) {
bill.setSourceType(entry.getValue().toString());
}
if (entry.getKey().equals("sourceKey")) {
bill.setSourceKey(entry.getValue().toString());
}
if (entry.getKey().equals("applyEmpNum")) {
bill.setApplyEmpNum(entry.getValue().toString());
}
if (entry.getKey().equals("errandEmpNum")) {
bill.setErrandEmpNum(entry.getValue().toString());
}
if (entry.getKey().equals("projectCode")) {
bill.setProjectCode(entry.getValue().toString());
}
if (entry.getKey().equals("journeyType")) {
bill.setJourneyType(entry.getValue().toString());
}
if (entry.getKey().equals("corporation")) {
bill.setCorporation(entry.getValue().toString());
}
if (entry.getKey().equals("costCentre")) {
bill.setCostCentre(entry.getValue().toString());
}
if (entry.getKey().equals("contactName")) {
bill.setContactName(entry.getValue().toString());
}
if (entry.getKey().equals("contactPhone")) {
bill.setContactPhone(entry.getValue().toString());
}
if (entry.getKey().equals("contactEmail")) {
bill.setContactEmail(entry.getValue().toString());
}
if (entry.getKey().equals("trafficExpense")) {
bill.setTrafficExpense(entry.getValue().toString());
}
if (entry.getKey().equals("hotelExpense")) {
bill.setHotelExpense(entry.getValue().toString());
}
if (entry.getKey().equals("otherExpense")) {
bill.setOtherExpense(entry.getValue().toString());
}
if (entry.getKey().equals("reason")) {
bill.setReason(entry.getValue().toString());
}
}
}
// 封装行程信息
if (journey != null && journey.size() > 0) {
journeys = new CreateBillSrvStub.JourneyInfo[journey.size()];
for (int i = 0; i < journey.size(); i++) {
CreateBillSrvStub.JourneyInfo ji = new CreateBillSrvStub.JourneyInfo();
HashMap hjs = journey.get(i);
if (!hjs.isEmpty()) {
Set<Entry<String, String>> sets = hjs.entrySet();
for (Entry<String, String> entry : sets) {
if (entry.getKey().equals("seqNo")) {
ji.setSeqNo(entry.getValue().toString());
}
if (entry.getKey().equals("fromCity")) {
ji.setFromCity(entry.getValue().toString());
}
if (entry.getKey().equals("toCity")) {
ji.setToCity(entry.getValue().toString());
}
if (entry.getKey().equals("journeyType")) {
ji.setJourneyType(entry.getValue().toString());
}
if (entry.getKey().equals("areaType")) {
ji.setAreaType(entry.getValue().toString());
}
if (entry.getKey().equals("trafficTool")) {
ji.setTrafficTool(entry.getValue().toString());
}
if (entry.getKey().equals("startDate")) {
ji.setStartDate(entry.getValue().toString());
}
if (entry.getKey().equals("endDate")) {
ji.setEndDate(entry.getValue().toString());
}
}
}
journeys[i] = ji;
}
}
// 封装同行人信息
if (companionInfo != null && companionInfo.size() > 0) {
companionInfos = new CreateBillSrvStub.CompanionInfo[companionInfo.size()];
for (int i = 0; i < companionInfo.size(); i++) {
HashMap hjs = companionInfo.get(i);
CreateBillSrvStub.CompanionInfo ci = new CreateBillSrvStub.CompanionInfo();
if (!hjs.isEmpty()) {
Set<Entry<String, String>> sets = hjs.entrySet();
for (Entry<String, String> entry : sets) {
if (entry.getKey().equals("personnelType")) {
// writeLog("personnelType"+i+" "+entry.getValue().toString() );
ci.setPersonnelType(entry.getValue().toString());
}
if (entry.getKey().equals("empNum")) {
// writeLog("empNum"+i+" "+entry.getValue().toString() );
ci.setEmpNum(entry.getValue().toString());
}
if (entry.getKey().equals("personnelName")) {
// writeLog("personnelName"+i+" "+entry.getValue().toString() );
ci.setPersonnelName(entry.getValue().toString());
}
if (entry.getKey().equals("passName")) {
// writeLog("passName"+i+" "+entry.getValue().toString() );
ci.setPassName(entry.getValue().toString());
}
if (entry.getKey().equals("passType")) {
// writeLog("passType"+i+" "+entry.getValue().toString() );
ci.setPassType(entry.getValue().toString());
}
if (entry.getKey().equals("passNum")) {
// writeLog("passNum"+i+" "+entry.getValue().toString() );
ci.setPassNum(entry.getValue().toString());
}
if (entry.getKey().equals("mobilePhone")) {
// writeLog("mobilePhone"+i+" "+entry.getValue().toString() );
ci.setMobilePhone(entry.getValue().toString());
}
if (entry.getKey().equals("email")) {
// writeLog("email"+i+" "+entry.getValue().toString() );
ci.setEmail(entry.getValue().toString());
}
}
}
companionInfos[i] = ci;
}
}
// 封装扩展信息
String requestId = "";
if (!extInfo.isEmpty()) {
Set<Entry<String, String>> sets = extInfo.entrySet();
if (sets != null && sets.size() > 0) {
extInfos = new CreateBillSrvStub.MapString[sets.size()];
int i = 0;
for (Entry<String, String> entry : sets) {
CreateBillSrvStub.MapString ms = new CreateBillSrvStub.MapString();
for (int m = 2; m <= 20; m++) {
if (entry.getKey().equals("attribute" + m)) {
if (("attribute" + m).equals("attribute2")) {
if (entry.getValue().toString() != null && entry.getValue().toString().isEmpty() == false) {
requestId = entry.getValue().toString();
} else {
;
}
}
ms.setKey("attribute" + m);
ms.setValue(entry.getValue().toString());
}
}
extInfos[i] = ms;
i++;
}
}
}
bill.setJourneyInfos(journeys);
bill.setCompanionInfos(companionInfos);
bill.setExtInfo(extInfos);
createBillRequest.setErrandBillInfo(bill);
// 设置日期格式
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date da = new Date();
// String username = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.UserName")).trim();
// String key = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.Key")).trim();
String username = configProp.getUserName();
String key = configProp.getKey();
createBillRequest.setCurrentTime(df.format(da));
// createBillRequest.setUserName(GetUserName());
// String password = GetUserName()+bill.getSourceType()+bill.getSourceKey()+df.format(new Date())+GetKey();
createBillRequest.setUserName(username);
String password = username + bill.getSourceType() + bill.getSourceKey() + df.format(new Date()) + key;
password = toMD5(password).toUpperCase();
createBillRequest.setPassword(password);
// 调用接口前将数据保存至日志表
// 获取并保存表头
RecordSet rsErrandBillReques = I18nContextUtil.getBean(RecordSet.class);
String strErrandBillReques = String.format("INSERT INTO [HTErrandBillRequest] ([requestId], [userName], [currentTime], [password],[sendTime]) VALUES ('%s','%s', '%s','%s','%s')", ToChar(requestId), ToChar(username), df.format(new Date()), password, df.format(da));
String poolname = CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源默认使用流程源单体客户无需修改微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
rsErrandBillReques.executeSql(strErrandBillReques, poolname);
// 获取并保存表单主信息
RecordSet rsBill = I18nContextUtil.getBean(RecordSet.class);
String strBill = String.format("INSERT INTO [HTErrandBillInfo] ([requestId], [sourceType], [sourceKey], [applyEmpNum], [errandEmpNum], [projectCode], [journeyType], [corporation], [costCentre], [contactName], [contactPhone],[contactEmail], [trafficExpense], [hotelExpense], [otherExpense], [reason],[sendTime]) VALUES ('%s','%s', '%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')", ToChar(requestId), ToChar(bill.getSourceType()), ToChar(bill.getSourceKey()), ToChar(bill.getApplyEmpNum()), ToChar(bill.getErrandEmpNum()), ToChar(bill.getProjectCode()), ToChar(bill.getJourneyType()), ToChar(bill.getCorporation()), ToChar(bill.getCostCentre()), ToChar(bill.getContactName()), ToChar(bill.getContactPhone()), ToChar(bill.getContactEmail()), ToChar(bill.getTrafficExpense()), ToChar(bill.getHotelExpense()), ToChar(bill.getOtherExpense()), ToChar(bill.getReason()), df.format(da));
String poolname_zm = CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源默认使用流程源单体客户无需修改微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
rsBill.executeSql(strBill, poolname_zm);
// 获取并保存行程信息
RecordSet rsjourney;
if (journeys != null && journeys.length > 0) {
for (int i = 0; i < journeys.length; i++) {
rsjourney = I18nContextUtil.getBean(RecordSet.class);
CreateBillSrvStub.JourneyInfo jour = journeys[i];
String strjourney = String.format("INSERT INTO [HTJourneyInfo] ([requestId], [seqNo], [fromCity], [toCity], [journeyType], [areaType], [trafficTool], [startDate], [endDate],[sendTime]) VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')", ToChar(requestId), ToChar(jour.getSeqNo()), ToChar(jour.getFromCity()), ToChar(jour.getToCity()), ToChar(jour.getJourneyType()), ToChar(jour.getAreaType()), ToChar(jour.getTrafficTool()), jour.getStartDate(), jour.getEndDate(), df.format(da));
String poolname_90 = CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源默认使用流程源单体客户无需修改微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
rsjourney.executeSql(strjourney, poolname_90);
}
}
// 获取并保存同行人信息
RecordSet rsCompanionInfo;
if (companionInfos != null && companionInfos.length > 0) {
for (int i = 0; i < companionInfos.length; i++) {
rsCompanionInfo = I18nContextUtil.getBean(RecordSet.class);
CreateBillSrvStub.CompanionInfo cInfo = companionInfos[i];
String strCompanionInfo = String.format("INSERT INTO [HTCompanionInfo] ([requestId], [personnelType], [empNum], [personnelName], [passName], [passType], [passNum], [mobilePhone], [email],[sendTime]) VALUES ('%s','%s','%s','%s','%s','%s','%s','%s' ,'%s','%s')", ToChar(requestId), ToChar(cInfo.getPersonnelType()), ToChar(cInfo.getEmpNum()), ToChar(cInfo.getPersonnelName()), ToChar(cInfo.getPassName()), ToChar(cInfo.getPassType()), ToChar(cInfo.getPassNum()), ToChar(cInfo.getMobilePhone()), ToChar(cInfo.getEmail()), df.format(da));
String poolname_kk = CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源默认使用流程源单体客户无需修改微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
rsCompanionInfo.executeSql(strCompanionInfo, poolname_kk);
}
}
// 获取并保存同行人信息
RecordSet rsMapString;
String attribute1 = "";
String attribute2 = "";
String attribute3 = "";
String attribute4 = "";
String attribute5 = "";
String attribute6 = "";
String attribute7 = "";
String attribute8 = "";
String attribute9 = "";
String attribute10 = "";
String attribute11 = "";
String attribute12 = "";
String attribute13 = "";
String attribute14 = "";
String attribute15 = "";
String attribute16 = "";
String attribute17 = "";
String attribute18 = "";
String attribute19 = "";
String attribute20 = "";
if (extInfos != null && extInfos.length > 0) {
rsMapString = I18nContextUtil.getBean(RecordSet.class);
for (int i = 0; i < extInfos.length; i++) {
CreateBillSrvStub.MapString mString = extInfos[i];
if (mString.getKey().equals("attribute2")) {
attribute2 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute3")) {
attribute3 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute4")) {
attribute4 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute5")) {
attribute5 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute6")) {
attribute6 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute7")) {
attribute7 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute8")) {
attribute8 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute9")) {
attribute9 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute10")) {
attribute10 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute11")) {
attribute11 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute12")) {
attribute12 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute13")) {
attribute13 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute14")) {
attribute14 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute15")) {
attribute15 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute16")) {
attribute16 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute17")) {
attribute17 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute18")) {
attribute18 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute19")) {
attribute19 = mString.getValue().toString();
}
if (mString.getKey().equals("attribute20")) {
attribute20 = mString.getValue().toString();
}
}
String strString = String.format("INSERT INTO [HTMapString] ([requestId], [attribute1], [attribute2], [attribute3], [attribute4], [attribute5], [attribute6], [attribute7], [attribute8], [attribute9], [attribute10], [attribute11], [attribute12], [attribute13], [attribute14], [attribute15], [attribute16], [attribute17], [attribute18], [attribute19], [attribute20], [useType],[sendTime]) VALUES ('%s','%s', '%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s', '%s','%s')", ToChar(requestId), ToChar(attribute1), ToChar(attribute2), ToChar(attribute3), ToChar(attribute4), ToChar(attribute5), ToChar(attribute6), ToChar(attribute7), ToChar(attribute8), ToChar(attribute9), ToChar(attribute10), ToChar(attribute11), ToChar(attribute12), ToChar(attribute13), ToChar(attribute14), ToChar(attribute15), ToChar(attribute16), ToChar(attribute17), ToChar(attribute18), ToChar(attribute19), ToChar(attribute20), "1", df.format(da));
String poolname_yi = CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源默认使用流程源单体客户无需修改微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
rsMapString.executeSql(strString, poolname_yi);
}
// writeLog("调用接口------------------------开始");
CreateBillSrvStub.CreateBillResponse resp = null;
resp = stub.process(createBillRequest);
// writeLog("调用接口------------------------完成");
// 封装返回
String[] rtInfo = new String[4];
rtInfo[0] = resp.getReturnCode();
rtInfo[1] = resp.getErrorMessage();
rtInfo[2] = resp.getReturnPassword();
rtInfo[3] = resp.getErrandBillNum();
// writeLog("开始记录返回数据------------------------");
// 将返回结果记录日志表
RecordSet rsErrandBillResponse = I18nContextUtil.getBean(RecordSet.class);
String strErrandBillResponse = String.format("INSERT INTO [HTErrandBillResponse] ([requestId], [returnCode], [errorMessage], [returnPassword], [errandBillNum],[sendTime]) VALUES ('%s','%s','%s','%s','%s','%s')", requestId, resp.getReturnCode(), resp.getErrorMessage(), resp.getReturnPassword(), resp.getErrandBillNum(), df.format(da));
String poolname_co = CONN_TYPE.workflow.getType();
/*writeLog("待执行的SQL------"+strErrandBillResponse);
TODO E10sql使/使*/
rsErrandBillResponse.executeSql(strErrandBillResponse, poolname_co);
// writeLog("完成记录返回数据------------------------");
return rtInfo;
}
public String ToChar(String s) {
// System.out.println("s转义前"+s);
if (s != null) {
s = s.replace("'", "\''");
}
// System.out.println("s转义后"+s);
return s;
}
public String toMD5(String plainText) {
StringBuffer buf = new StringBuffer("");
try {
// 生成实现指定摘要算法的 MessageDigest 对象。
MessageDigest md = MessageDigest.getInstance("MD5");
// 使用指定的字节数组更新摘要。
md.update(plainText.getBytes());
// 通过执行诸如填充之类的最终操作完成哈希计算。
byte[] b = md.digest();
// 生成具体的md5密码到buf数组
int i;
// StringBuffer buf = new StringBuffer("");
for (int offset = 0; offset < b.length; offset++) {
i = b[offset];
if (i < 0) {
i += 256;
}
if (i < 16) {
buf.append("0");
}
buf.append(Integer.toHexString(i));
}
} catch (Exception e) {
e.printStackTrace();
}
return buf.toString();
}
// 获取用户名
private String GetUserName() {
ConfigModel config = GetConfigModel();
if (config != null) {
String url = config.getUserName();
return url;
}
return "";
}
// 获取用户名
private String GetKey() {
ConfigModel config = GetConfigModel();
if (config != null) {
String url = config.getKey();
return url;
}
return "";
}
// 获取Webservice服务地址
private String GetServicesURL() {
ConfigModel config = GetConfigModel();
if (config != null) {
String url = config.getServicesURL();
return url;
}
return "";
}
// 获取数据库连接字符串
private String GetDBConnection() {
ConfigModel config = GetConfigModel();
if (config != null) {
return config.getDBConnection();
}
return "";
}
private String GetCourseFile() {
String path = CallSLServices.class.getResource("/").getPath();
try {
path = URLDecoder.decode(path, "utf-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
return path;
}
private ConfigModel GetConfigModel() {
logger_6fef4f91.info(String.valueOf("json打印1---------------------"));
String courseFile = GetCourseFile();
String path = courseFile + "config.json";
//TODO config
// String jsonStr = FileUtil.ReadFile(path);
String jsonStr = "";
JSONObject jsonObject = JSONObject.fromObject(jsonStr);
logger_6fef4f91.info("config.getServicesURL()==" + jsonObject.toString());
if (jsonObject != null && jsonObject.isEmpty() == false) {
ConfigModel config = new ConfigModel();
config.setServicesURL(jsonObject.getString("ServicesURL"));
config.setDBConnection(jsonObject.getString("DBConnection"));
config.setUserName(jsonObject.getString("UserName"));
config.setKey(jsonObject.getString("Key"));
//
// ConfigModel config = (ConfigModel) JSONObject.toBean(jsonObject,
// ConfigModel.class);
// if(config!=null&&config.getServicesURL()!=null){
// WriteLog("config.getServicesURL()!=null");
//
// WriteLog("config.getServicesURL()=="+config.getServicesURL());
//
// }else{
//
// WriteLog("config.getServicesURL()==null");
// }
return config;
}
return null;
}
}

@ -5,8 +5,8 @@ import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import com.weaver.seconddev.interfaces.crmoa.CRM_SyncTempUnfreeze;
import com.weaver.seconddev.interfaces.crmoa.SI_HTCRMBlistTempLifting_OUTServiceStub.CRM_TEMPUNFREEZE_HEAD;
import com.weaver.seconddev.interfaces.crmoa.SI_HTCRMBlistTempLifting_OUTServiceStub.CRM_TEMPUNFREEZE_RETURN;
import com.weaver.seconddev.interfaces.crmoa.CRM_SyncTempUnfreezeStub.CRM_TEMPUNFREEZE_HEAD;
import com.weaver.seconddev.interfaces.crmoa.CRM_SyncTempUnfreezeStub.CRM_TEMPUNFREEZE_RETURN;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import com.weaver.verupgrade.conn.CONN_TYPE;

@ -3,8 +3,8 @@ package com.weaver.seconddev.interfaces.workflow.action;
import java.util.HashMap;
import java.util.Map;
import com.weaver.seconddev.interfaces.crmoa.CRM_SyncTempUnfreeze;
import com.weaver.seconddev.interfaces.crmoa.SI_HTCRMBlistTempLifting_OUTServiceStub.CRM_TEMPUNFREEZE_HEAD;
import com.weaver.seconddev.interfaces.crmoa.SI_HTCRMBlistTempLifting_OUTServiceStub.CRM_TEMPUNFREEZE_RETURN;
import com.weaver.seconddev.interfaces.crmoa.CRM_SyncTempUnfreezeStub.CRM_TEMPUNFREEZE_HEAD;
import com.weaver.seconddev.interfaces.crmoa.CRM_SyncTempUnfreezeStub.CRM_TEMPUNFREEZE_RETURN;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import java.lang.*;
import java.util.*;

@ -10,6 +10,7 @@ import java.util.*;
import com.weaver.verupgrade.workflow.request.RequestManager;
import com.weaver.esb.api.rpc.EsbServerlessRpcRemoteInterface;
import com.weaver.common.base.entity.result.WeaResult;
import org.apache.axis2.transport.http.impl.httpclient4.HttpTransportPropertiesImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@ -168,12 +169,13 @@ public class EasWhiteListAction extends BaseBean implements Action, EsbServerles
// String uri = "http://10.6.2.35:7001/easws/services/syncWhiteListService?wsdl";
String uri = "http://sappod.hengtong.com:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_OA&receiverParty=&receiverService=&interface=SI_WhitelistSync_OUT&interfaceNamespace=http://hengtong.com/OA/WhitelistSync";
SI_WhitelistSync_OUTServiceStub stub = new SI_WhitelistSync_OUTServiceStub(uri);
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();
// HttpTransportProperties.Authenticator auth = new HttpTransportProperties.Authenticator();
HttpTransportPropertiesImpl.Authenticator auth = new HttpTransportPropertiesImpl.Authenticator();
auth.setUsername("pouser");
auth.setPassword("654321");
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, auth);
stub._getServiceClient().getOptions().setProperty(org.apache.axis2.kernel.http.HTTPConstants.AUTHENTICATE,auth);
SI_WhitelistSync_OUTServiceStub.SyncWhiteListServiceResponse response = stub.sI_WhitelistSync_OUT(input);
SI_WhitelistSync_OUTServiceStub.ResultInfo resultInfo = response.get_return();
result[0] = resultInfo.getISTAT();

@ -13,13 +13,13 @@ import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.transport.http.HTTPConstants;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import javax.xml.namespace.QName;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import org.apache.axis2.kernel.http.HTTPConstants;
import org.springframework.core.env.Environment;
import java.lang.*;
import java.util.*;

@ -18,9 +18,9 @@ import org.apache.axis2.AxisFault;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.transport.http.HTTPConstants;
import org.apache.axis2.client.ServiceClient;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import org.apache.axis2.kernel.http.HTTPConstants;
import org.springframework.core.env.Environment;
import java.lang.*;
import java.util.*;

@ -14,13 +14,13 @@ import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.transport.http.HTTPConstants;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import javax.xml.namespace.QName;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import org.apache.axis2.kernel.http.HTTPConstants;
import org.springframework.core.env.Environment;
import java.lang.*;
import java.util.*;

@ -13,13 +13,13 @@ import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.transport.http.HTTPConstants;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import javax.xml.namespace.QName;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import org.apache.axis2.kernel.http.HTTPConstants;
import org.springframework.core.env.Environment;
import java.lang.*;
import java.util.*;

@ -13,13 +13,13 @@ import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.transport.http.HTTPConstants;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import javax.xml.namespace.QName;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import org.apache.axis2.kernel.http.HTTPConstants;
import org.springframework.core.env.Environment;
import java.lang.*;
import java.util.*;

@ -13,13 +13,13 @@ import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.transport.http.HTTPConstants;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import javax.xml.namespace.QName;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import org.apache.axis2.kernel.http.HTTPConstants;
import org.springframework.core.env.Environment;
import java.lang.*;
import java.util.*;

@ -11,12 +11,12 @@ import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.transport.http.HTTPConstants;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import org.apache.axis2.kernel.http.HTTPConstants;
import org.springframework.core.env.Environment;
import java.lang.*;
import java.util.*;

@ -11,12 +11,12 @@ import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.transport.http.HTTPConstants;
import com.weaver.seconddev.interfaces.swfa.BillFieldUtil;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import com.weaver.common.i18n.tool.util.I18nContextUtil;
import org.apache.axis2.kernel.http.HTTPConstants;
import org.springframework.core.env.Environment;
import java.lang.*;
import java.util.*;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save