[英]Log response from webservice
I am using Jboss and jax-ws. 我正在使用Jboss和jax-ws。
How can I gent a similar effect to the 我怎样才能得到与
System.setProperty("com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump", "true")?
Thank you! 谢谢! Have a nice day! 祝你今天愉快!
You should look to enable the httpclient.wire.content category in the JBoss logging, this will dump the http messages into the configured log file. 您应该在JBoss日志记录中启用httpclient.wire.content类别,这会将http消息转储到配置的日志文件中。
<category name="httpclient.wire.content">
<priority value="DEBUG"/>
</category>
You add this to the <YOUR JBOSS INSTALL FOLDER>\\server\\default\\conf\\jboss-log4j.xml
within the </log4j:configuration>
tag 您将此添加到</log4j:configuration>
标记内的<YOUR JBOSS INSTALL FOLDER>\\server\\default\\conf\\jboss-log4j.xml
中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.