简体   繁体   中英

Log response from webservice

I am using Jboss and 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.

  <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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM