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

 

posted @ 2017-01-22 10:09  jenson138  阅读(2603)  评论(0编辑  收藏  举报