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();     

 

转载于:https://www.cnblogs.com/jenson138/p/6339508.html

你可能感兴趣的:(java)