2

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!

Vadzim
  • 24,954
  • 11
  • 143
  • 151
Roxana
  • 1,569
  • 3
  • 24
  • 41

1 Answers1

1

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

Kevin D
  • 3,564
  • 1
  • 21
  • 38
  • i'm a beginner - so, could you be more detailed? - in which file to add the above element? Thank you! – Roxana Jan 12 '12 at 15:05
  • 1
    @Roxana just to add some info, instead of `default` folder in `\server`, you should go to your actual server folder. Generally, `default` is your server folder for development and testing operations, but for production you should create another folder with the production configurations, as is recommended in [JBoss AS Guide](http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch01.html#ch1.dirs.fig) – Luiggi Mendoza Feb 25 '12 at 22:51