67,515
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><UserInfoSyncToISMPResp xmlns="http://www.mbossvsop.com.cn/vsop"><response xmlns="">成功</response></UserInfoSyncToISMPResp></soapenv:Body></soapenv:Envelope>
String resXml = "";
try{
resXml = userInfoProc.proc(parameters.getRequest());
}catch(BtirException e){
logger.error(e);
}
if(logger.isDebugEnabled()){
logger.debug("[UserSyncToVsopService][res]:"+resXml);
}
VsopServiceResponse res = new VsopServiceResponse();
res.setResponse(resXml);
UserInfoSyncToISMPSV_PortType service = null;
UserInfoSyncToISMPSV_BindingStub binding = null;
UserInfoSyncToISMPSV_ServiceLocator locator = new UserInfoSyncToISMPSV_ServiceLocator();
locator.setUserInfoSyncToISMPSVEndpointAddress("http://localhost:8080/services/UserInfoSyncToISMPSV?wsdl");
try{
binding = (UserInfoSyncToISMPSV_BindingStub) locator.getUserInfoSyncToISMPSV();
}catch(Exception e){
e.printStackTrace();
}
if(null!= binding){
binding.setTimeout(15000);
}
VsopServiceRequest para = new VsopServiceRequest();
para.setRequest(getXML());
VsopServiceResponse res = binding.userInfoSyncToISMPSV(para);
if(null!= res){
System.out.println("res:"+res.getResponse());
}