javajbossjax-wsjbossws

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!


Solution

  • 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