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();     
相關文章
相關標籤/搜索