问题描述
大家好,
我已经能够通过网络嗅探工具捕获这些数据(SOAP请求/响应),或者通过 System.setProperty(" com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump",true)。但我希望b $ b能够记录这些数据(特别是使用log4j),但我无法找到一种方法来注入我的"自定义"数据。 inceptor通过公开的Bing API Web服务对象。如果我在这里缺少任何其他方式,请提供建议
I've been able to capture this data (SOAP request/response) through Network sniffing tool, or to see it in the console through System.setProperty("com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump", true). But I would like to be able to log this data (especially with log4j), but I couldn't figure out a way to inject my "custom" inceptor through the exposed Bing API web service object. Please advice if there is any other way that i am missing here
谢谢
推荐答案
这篇关于Java SDK日志SOAP请求/响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!