|
|
@ -46,8 +46,6 @@ public class WmsToEasService { |
|
|
|
private String operationName; |
|
|
|
|
|
|
|
public MsgDto sendWebService(String json) throws ServiceException, RemoteException { |
|
|
|
log.error("Eas同步接口开始请求,请求json为:"+json); |
|
|
|
MsgDto msgDto =new MsgDto(); |
|
|
|
Service s = new Service(); |
|
|
|
Call call = (Call) s.createCall(); |
|
|
|
call.setOperationName("login"); |
|
|
@ -90,8 +88,6 @@ public class WmsToEasService { |
|
|
|
log.error("Eas同步接口invoke调用结果:" + invoke.toString()); |
|
|
|
log.error("Eas同步接口调用结果:" + results); |
|
|
|
System.out.println(invoke); |
|
|
|
MsgDto d2 = JSON.parseObject(String.valueOf(invoke), MsgDto.class); |
|
|
|
MsgDto d1 = JSON.toJavaObject(JSON.parseObject((String) invoke), MsgDto.class); |
|
|
|
return d1; |
|
|
|
return JSON.toJavaObject(JSON.parseObject((String) invoke), MsgDto.class); |
|
|
|
} |
|
|
|
} |