[jboss-user] [JBossWS] - Re: How Do I See the XML?

oskar.carlstedt do-not-reply at jboss.com
Thu Mar 22 04:44:29 EDT 2007


You can always turn on TRACE debugging on the ws messages. There is an uncommented row in the JBOSS_HOME/server/default/conf/log4j.xml. Now you will see the messages in the JBOSS_HOME/server/default/log/server.log file.

By default the CONSOLE-appender in log4j.xml has a threshold parameter set to INFO. This makes log4j to reject all messages with lower priority than this value. If you set threshold to TRACE you will get a lot of info, more than you want.

You can always create a handler (http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Handler_Framework[/url]) to monitor the result of the ws, but it might be tricky. Another way is to create an http filter ([url]http://java.sun.com/products/servlet/Filters.html) that will check your incoming request and outgoing response.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030495#4030495

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030495

More information about the jboss-user mailing list