Commit 961699eb authored by 5359's avatar 5359

中登网上线

parent ce025ea6
......@@ -44,9 +44,9 @@ public class ZdwWsRequestsController extends BaseController {
**/
@RequestMapping(value = "/zdw/service/register/init")
@ResponseBody
public JSONObject initRegister(HttpServletRequest request, @RequestBody Long batchId) {
public JSONObject initRegister(HttpServletRequest request, @RequestBody(required = true) JSONObject params) {
IRequest requestContext = createRequestContext(request);
return service.initRegisterService(requestContext, batchId);
return service.initRegisterService(requestContext, params);
}
}
\ No newline at end of file
......@@ -61,6 +61,8 @@ public class HlsWsRequests {
private String responseClob;
private String tableName;
public Long getRequestId() {
return requestId;
}
......@@ -197,4 +199,11 @@ public class HlsWsRequests {
return responseClob;
}
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
}
......@@ -8,6 +8,6 @@ import java.util.List;
public interface IZdwWsRequestsService extends ProxySelf<IZdwWsRequestsService>{
JSONObject initRegisterService(IRequest request, Long batchId);
JSONObject initRegisterService(IRequest request, JSONObject params);
}
\ No newline at end of file
package com.hand.app.zhongDengWang.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.hand.app.zhongDengWang.service.IFndZhongDengHeadsService;
import com.hand.app.zhongDengWang.service.IZdwWsRequestsService;
import com.hand.app.zhongDengWang.dto.ZdwLoginTokenInterface;
import com.hand.app.zhongDengWang.dto.FndZhongDengHeads;
import com.hand.app.zhongDengWang.dto.FndZhongDengLines;
import com.hand.app.zhongDengWang.dto.FndZhongDengBatch;
import com.hand.app.zhongDengWang.dto.HlsWsRequests;
......@@ -10,6 +12,7 @@ import com.hand.app.zhongDengWang.service.IZdwWsRequestsService;
import com.hand.app.zhongDengWang.mapper.HlsWsRequestsMapper;
import com.hand.app.zhongDengWang.service.IFndZhongDengLinesService;
import com.hand.app.zhongDengWang.mapper.ZdwLoginTokenInterfaceMapper;
import com.hand.app.zhongDengWang.mapper.FndZhongDengHeadsMapper;
import com.hand.app.zhongDengWang.mapper.FndZhongDengLinesMapper;
import com.hand.app.zhongDengWang.mapper.FndZhongDengBatchMapper;
import com.hand.app.zhongDengWang.utils.ClientUtils;
......@@ -50,8 +53,12 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
@Autowired
ZdwLoginTokenInterfaceMapper zdwLoginTokenInterfaceMapper;
@Autowired
FndZhongDengHeadsMapper fndZhongDengHeadsMapper;
@Autowired
FndZhongDengLinesMapper fndZhongDengLinesMapper;
@Autowired
IFndZhongDengHeadsService fndZhongDengHeadsService;
@Autowired
IFndZhongDengLinesService fndZhongDengLinesService;
@Autowired
IZdwWsRequestsService zdwWsRequestsService;
......@@ -224,7 +231,7 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
}
/*变更登记*/
public JSONObject registerAmend(String platformAuthCode, String loginToken, String xmlFileContent, FndZhongDengLines line, FndAtmAttachmentDto attachmentDto) {
public JSONObject registerAmend(String platformAuthCode, String loginToken, String xmlFileContent, FndZhongDengHeads heads, FndZhongDengLines line, FndAtmAttachmentDto attachmentDto) {
JSONObject resultJson = new JSONObject();
//WS服务初始化
......@@ -240,8 +247,8 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
String encryLoginToken = SM2Utils.encryptByKeyStr(loginToken, clientKey);
String encryXmlFileContent = SM2Utils.encryptByKeyStr(xmlFileContent, clientKey);
String encryPlatformAuthCode = SM2Utils.encryptByKeyStr(platformAuthCode, clientKey);
String encryAuthorizationCode = SM2Utils.encryptByKeyStr(line.getAuthorizationCode(), clientKey);
String encryRegisterCode = SM2Utils.encryptByKeyStr(line.getRegisterNumber(), clientKey);
String encryAuthorizationCode = SM2Utils.encryptByKeyStr(heads.getAuthorizationCode(), clientKey);
String encryRegisterCode = SM2Utils.encryptByKeyStr(heads.getInitRegisterNumber(), clientKey);
String attachmentZipPath = "";
/*发送变更登记接口请求*/
......@@ -267,7 +274,7 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
}
/*展期登记*/
public JSONObject registerExtend(String platformAuthCode, String loginToken, String xmlFileContent, FndZhongDengLines line, FndAtmAttachmentDto attachmentDto) {
public JSONObject registerExtend(String platformAuthCode, String loginToken, String xmlFileContent, FndZhongDengHeads heads, FndZhongDengLines line, FndAtmAttachmentDto attachmentDto) {
JSONObject resultJson = new JSONObject();
//WS服务初始化
WSExtendRegisterServiceService service = new WSExtendRegisterServiceService();
......@@ -282,8 +289,8 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
String encryLoginToken = SM2Utils.encryptByKeyStr(loginToken, clientKey);
String encryXmlFileContent = SM2Utils.encryptByKeyStr(xmlFileContent, clientKey);
String encryPlatformAuthCode = SM2Utils.encryptByKeyStr(platformAuthCode, clientKey);
String encryAuthorizationCode = SM2Utils.encryptByKeyStr(line.getAuthorizationCode(), clientKey);
String encryRegisterCode = SM2Utils.encryptByKeyStr(line.getRegisterNumber(), clientKey);
String encryAuthorizationCode = SM2Utils.encryptByKeyStr(heads.getAuthorizationCode(), clientKey);
String encryRegisterCode = SM2Utils.encryptByKeyStr(heads.getInitRegisterNumber(), clientKey);
String attachmentZipPath = "";
/*发送展期登记接口请求*/
......@@ -307,7 +314,7 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
}
/*注销登记*/
public JSONObject registerTerminate(String platformAuthCode, String loginToken, String xmlFileContent, FndZhongDengLines line, FndAtmAttachmentDto attachmentDto) {
public JSONObject registerTerminate(String platformAuthCode, String loginToken, String xmlFileContent, FndZhongDengHeads heads, FndZhongDengLines line, FndAtmAttachmentDto attachmentDto) {
JSONObject resultJson = new JSONObject();
//WS服务初始化
WSTerminateRegisterServiceService service = new WSTerminateRegisterServiceService();
......@@ -322,8 +329,8 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
String encryLoginToken = SM2Utils.encryptByKeyStr(loginToken, clientKey);
String encryXmlFileContent = SM2Utils.encryptByKeyStr(xmlFileContent, clientKey);
String encryPlatformAuthCode = SM2Utils.encryptByKeyStr(platformAuthCode, clientKey);
String encryAuthorizationCode = SM2Utils.encryptByKeyStr(line.getAuthorizationCode(), clientKey);
String encryRegisterCode = SM2Utils.encryptByKeyStr(line.getRegisterNumber(), clientKey);
String encryAuthorizationCode = SM2Utils.encryptByKeyStr(heads.getAuthorizationCode(), clientKey);
String encryRegisterCode = SM2Utils.encryptByKeyStr(heads.getInitRegisterNumber(), clientKey);
/*发送注销登记接口请求*/
byte[] returns = terminate.terminateRegister(line.getTypebz().getBytes(), encryPlatformAuthCode.getBytes(),
......@@ -353,6 +360,7 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
public void registerThread(IRequest request, List<FndZhongDengBatch> fndZhongDengBatches, String loginToken) {
JSONObject resultJson = new JSONObject();
List<FndZhongDengLines> fndZhongDengLinesList = new ArrayList<>();
List<FndZhongDengHeads> fndZhongDengHeadsList = new ArrayList<>();
/*根据传入ids循环上报中登网*/
synchronized (lock) {
for (FndZhongDengBatch batch : fndZhongDengBatches) {
......@@ -361,8 +369,12 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
fndZhongDengLines.setLineId(batch.getLineId());
fndZhongDengLines = fndZhongDengLinesMapper.selectByPrimaryKey(fndZhongDengLines);
if (Objects.nonNull(fndZhongDengLines) && "UPING".equalsIgnoreCase(fndZhongDengLines.getUpStatus()) && "NORMAL".equalsIgnoreCase(fndZhongDengLines.getDataClass())) {
try {
FndZhongDengHeads fndZhongDengHeads = new FndZhongDengHeads();
fndZhongDengHeads.setHeadId(fndZhongDengLines.getHeadId());
fndZhongDengHeads = fndZhongDengHeadsMapper.selectByPrimaryKey(fndZhongDengHeads);
/*获取xml报文文件所在路径*/
FndAtmAttachmentDto fndAtmAttachmentDto = new FndAtmAttachmentDto();
......@@ -376,11 +388,11 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
if ("01".equalsIgnoreCase(fndZhongDengLines.getUpStage())) {
resultJson = registerInit(platformAuthCode, loginToken, xmlFileContent, fndZhongDengLines, fndAtmAttachmentDto);
} else if ("02".equalsIgnoreCase(fndZhongDengLines.getUpStage())) {
resultJson = registerAmend(platformAuthCode, loginToken, xmlFileContent, fndZhongDengLines, fndAtmAttachmentDto);
resultJson = registerAmend(platformAuthCode, loginToken, xmlFileContent, fndZhongDengHeads, fndZhongDengLines, fndAtmAttachmentDto);
} else if ("03".equalsIgnoreCase(fndZhongDengLines.getUpStage())) {
resultJson = registerExtend(platformAuthCode, loginToken, xmlFileContent, fndZhongDengLines, fndAtmAttachmentDto);
resultJson = registerExtend(platformAuthCode, loginToken, xmlFileContent, fndZhongDengHeads, fndZhongDengLines, fndAtmAttachmentDto);
} else if ("05".equalsIgnoreCase(fndZhongDengLines.getUpStage())) {
resultJson = registerTerminate(platformAuthCode, loginToken, xmlFileContent, fndZhongDengLines, fndAtmAttachmentDto);
resultJson = registerTerminate(platformAuthCode, loginToken, xmlFileContent, fndZhongDengHeads, fndZhongDengLines, fndAtmAttachmentDto);
}
String returns = "";
......@@ -403,10 +415,30 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
/*成功*/
if (Objects.nonNull(registerResult) && "001".equalsIgnoreCase(registerResult)) {
String registerNumber = returnJson.getJSONObject("feedback").getString("registernumber");
String authorizationCode = returnJson.getJSONObject("feedback").getString("authorizationcode");
fndZhongDengLines.setRegisterNumber(registerNumber);
fndZhongDengLines.setAuthorizationCode(authorizationCode);
/*回写登记报文号registernumber*/
if (!returnJson.getJSONObject("feedback").isNull("registernumber")) {
String registerNumber = returnJson.getJSONObject("feedback").getString("registernumber");
fndZhongDengLines.setRegisterNumber(registerNumber);
/*初始登记*/
if ("01".equalsIgnoreCase(fndZhongDengLines.getUpStage())) {
fndZhongDengHeads.setInitRegisterNumber(registerNumber);
} else if ("02".equalsIgnoreCase(fndZhongDengLines.getUpStage())) {
fndZhongDengHeads.setAmendRegisterNumber(registerNumber);
} else if ("03".equalsIgnoreCase(fndZhongDengLines.getUpStage())) {
fndZhongDengHeads.setExtendRegisterNumber(registerNumber);
} else if ("05".equalsIgnoreCase(fndZhongDengLines.getUpStage())) {
fndZhongDengHeads.setAbolishRegisterNumber(registerNumber);
}
}
/*回写修改码authorizationcode*/
if (!returnJson.getJSONObject("feedback").isNull("authorizationcode")) {
String authorizationCode = returnJson.getJSONObject("feedback").getString("authorizationcode");
fndZhongDengLines.setAuthorizationCode(authorizationCode);
fndZhongDengHeads.setAuthorizationCode(authorizationCode);
}
fndZhongDengHeads.set__status(DTOStatus.UPDATE);
fndZhongDengHeadsList.add(fndZhongDengHeads);
fndZhongDengLines.setUpStatus("SUCCESS");
fndZhongDengLines.setReturnMsg("上报成功");
/*失败*/
......@@ -432,6 +464,9 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
}
}
if (fndZhongDengHeadsList.size() > 0) {
fndZhongDengHeadsService.batchUpdate(request, fndZhongDengHeadsList);
}
if (fndZhongDengLinesList.size() > 0) {
fndZhongDengLinesService.batchUpdate(request, fndZhongDengLinesList);
}
......@@ -441,12 +476,19 @@ public class ZdwWsRequestsServiceImpl implements IZdwWsRequestsService {
/***
* 融资租赁-登记入口方法;
* @param request
* @param batchId
* @param params
***/
@Override
public JSONObject initRegisterService(IRequest request, Long batchId) {
public JSONObject initRegisterService(IRequest request, JSONObject params) {
JSONObject resultJson = new JSONObject();
Long batchId=params.getLongValue("batchId");
if(Objects.isNull(batchId)){
resultJson.put("code", "001");
resultJson.put("info", "必须传入参数batchId缺失,请检查");
return resultJson;
}
/*根据批次ID获取所有上报请求id*/
List<FndZhongDengBatch> fndZhongDengBatches = new ArrayList<>();
FndZhongDengBatch fndZhongDengBatch = new FndZhongDengBatch();
......
......@@ -53,7 +53,7 @@
</wsdl:binding>
<wsdl:service name="WSAmendRegisterServiceService">
<wsdl:port binding="tns:WSAmendRegisterServiceServiceSoapBinding" name="WSAmendRegisterServicePort">
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/AmendRegisterService"/>
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws/services/AmendRegisterService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
......@@ -17,7 +17,7 @@ import javax.xml.ws.WebServiceFeature;
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "WSAmendRegisterServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/AmendRegisterService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/AmendRegisterService?wsdl")
@WebServiceClient(name = "WSAmendRegisterServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/AmendRegisterService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/AmendRegisterService?wsdl")
public class WSAmendRegisterServiceService
extends Service
{
......@@ -30,7 +30,7 @@ public class WSAmendRegisterServiceService
URL url = null;
WebServiceException e = null;
try {
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/AmendRegisterService?wsdl");
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws/services/AmendRegisterService?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
......
......@@ -53,7 +53,7 @@
</wsdl:binding>
<wsdl:service name="WSExtendRegisterServiceService">
<wsdl:port binding="tns:WSExtendRegisterServiceServiceSoapBinding" name="WSExtendRegisterServicePort">
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/ExtendRegisterService"/>
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws/services/ExtendRegisterService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
......@@ -17,7 +17,7 @@ import javax.xml.ws.WebServiceFeature;
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "WSExtendRegisterServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/ExtendRegisterService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/ExtendRegisterService?wsdl")
@WebServiceClient(name = "WSExtendRegisterServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/ExtendRegisterService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/ExtendRegisterService?wsdl")
public class WSExtendRegisterServiceService
extends Service
{
......@@ -30,7 +30,7 @@ public class WSExtendRegisterServiceService
URL url = null;
WebServiceException e = null;
try {
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/ExtendRegisterService?wsdl");
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws/services/ExtendRegisterService?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
......
......@@ -51,7 +51,7 @@
</wsdl:binding>
<wsdl:service name="WSInitRegisterServiceService">
<wsdl:port binding="tns:WSInitRegisterServiceServiceSoapBinding" name="WSInitRegisterServicePort">
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/InitRegisterService"/>
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws/services/InitRegisterService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
......@@ -16,7 +16,7 @@ import javax.xml.ws.WebServiceFeature;
* JAX-WS RI 2.2.9-b130926.1035
* Generated source version: 2.2
*/
@WebServiceClient(name = "WSInitRegisterServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/InitRegisterService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/InitRegisterService?wsdl")
@WebServiceClient(name = "WSInitRegisterServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/InitRegisterService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/InitRegisterService?wsdl")
public class WSInitRegisterServiceService
extends Service {
......@@ -28,7 +28,7 @@ public class WSInitRegisterServiceService
URL url = null;
WebServiceException e = null;
try {
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/InitRegisterService?wsdl");
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws/services/InitRegisterService?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
......
......@@ -48,7 +48,7 @@
</wsdl:binding>
<wsdl:service name="WSLoginServiceService">
<wsdl:port binding="tns:WSLoginServiceServiceSoapBinding" name="WSLoginServicePort">
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/LoginService"/>
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws/services/LoginService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
......@@ -18,7 +18,7 @@ import com.hand.app.zhongDengWang.ws.login.WSLoginService;
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "WSLoginServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/LoginService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/LoginService?wsdl")
@WebServiceClient(name = "WSLoginServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/LoginService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/LoginService?wsdl")
public class WSLoginServiceService
extends Service
{
......@@ -31,7 +31,7 @@ public class WSLoginServiceService
URL url = null;
WebServiceException e = null;
try {
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/LoginService?wsdl");
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws/services/LoginService?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
......
......@@ -46,7 +46,7 @@
</wsdl:binding>
<wsdl:service name="WSLogoutServiceService">
<wsdl:port binding="tns:WSLogoutServiceServiceSoapBinding" name="WSLogoutServicePort">
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/LogoutService"/>
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws/services/LogoutService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
......@@ -17,7 +17,7 @@ import javax.xml.ws.WebServiceFeature;
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "WSLogoutServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/LogoutService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/LogoutService?wsdl")
@WebServiceClient(name = "WSLogoutServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/LogoutService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/LogoutService?wsdl")
public class WSLogoutServiceService
extends Service
{
......@@ -30,7 +30,7 @@ public class WSLogoutServiceService
URL url = null;
WebServiceException e = null;
try {
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/LogoutService?wsdl");
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws/services/LogoutService?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
......
......@@ -56,7 +56,7 @@
</wsdl:binding>
<wsdl:service name="WSQueryByRequestNoServiceService">
<wsdl:port binding="tns:WSQueryByRequestNoServiceServiceSoapBinding" name="WSQueryByRequestNoServicePort">
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/QueryByRequestNo"/>
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws/services/QueryByRequestNo"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
......@@ -17,7 +17,7 @@ import javax.xml.ws.WebServiceFeature;
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "WSQueryByRequestNoServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/QueryByRequestNoService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/QueryByRequestNo?wsdl")
@WebServiceClient(name = "WSQueryByRequestNoServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/QueryByRequestNoService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/QueryByRequestNo?wsdl")
public class WSQueryByRequestNoServiceService
extends Service
{
......@@ -30,7 +30,7 @@ public class WSQueryByRequestNoServiceService
URL url = null;
WebServiceException e = null;
try {
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/QueryByRequestNo?wsdl");
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws/services/QueryByRequestNo?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
......
......@@ -52,7 +52,7 @@
</wsdl:binding>
<wsdl:service name="WSTerminateRegisterServiceService">
<wsdl:port binding="tns:WSTerminateRegisterServiceServiceSoapBinding" name="WSTerminateRegisterServicePort">
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/TerminateRegisterService"/>
<soap:address location="https://ws.zhongdengwang.org.cn/mfrs_ws/services/TerminateRegisterService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
......@@ -17,7 +17,7 @@ import javax.xml.ws.WebServiceFeature;
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "WSTerminateRegisterServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/TerminateRegisterService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/TerminateRegisterService?wsdl")
@WebServiceClient(name = "WSTerminateRegisterServiceService", targetNamespace = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/TerminateRegisterService", wsdlLocation = "https://ws.zhongdengwang.org.cn/mfrs_ws/services/TerminateRegisterService?wsdl")
public class WSTerminateRegisterServiceService
extends Service
{
......@@ -30,7 +30,7 @@ public class WSTerminateRegisterServiceService
URL url = null;
WebServiceException e = null;
try {
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws_test/services/TerminateRegisterService?wsdl");
url = new URL("https://ws.zhongdengwang.org.cn/mfrs_ws/services/TerminateRegisterService?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment