首页 > 代码库 > java 查看SOAP请求报文

java 查看SOAP请求报文

 

1             log.info("ESB 请求URL = " + cachedEndpoint.toString());//打印SOAP请求报文 add by LinJC on 20170120
2             java.lang.Object _resp = _call
3                 .invoke(new java.lang.Object[] {data });
4             log.info("ESB 请求XML = " + _call.getMessageContext().getRequestMessage().getSOAPPartAsString());
5             log.info("ESB 返回结果 = " + _call.getMessageContext().getResponseMessage().getSOAPPartAsString();     

 

java 查看SOAP请求报文