- 
        1. Re: how can you trace SOAP messages in JBoss?peterj Feb 19, 2009 2:43 PM (in response to maverickdc)Uncomment this entry in the jboss-log4j.xml file: <!-- Enable JBossWS message tracing <category name="org.jboss.ws.core.MessageTrace"> <priority value="TRACE"/> </category> --> 
- 
        2. Re: how can you trace SOAP messages in JBoss?maverickdc Feb 20, 2009 4:45 AM (in response to maverickdc)"PeterJ" wrote: 
 Uncomment this entry in the jboss-log4j.xml file:<!-- Enable JBossWS message tracing <category name="org.jboss.ws.core.MessageTrace"> <priority value="TRACE"/> </category> --> 
 Hi Peter, thanks for your reply.
 But it doesn't work...
 Few days ago, while i was reading the "Jboss starting guide" (par.5.4 "Monitoring webservices requests") i found this entry to add to jboss-log4j.xml:<category name="org.jboss.axis.transport.http.AxisServlet"> <priority value="DEBUG"/> </category> 
 but i had the same result: no SOAP messages logged to the server.log file.
 I don' know why...
 Tnx for you help.
 DC
- 
        3. Re: how can you trace SOAP messages in JBoss?wolfgangknauf Feb 20, 2009 9:08 AM (in response to maverickdc)Hi, 
 did you check the threshold for the appender "FILE" in "jboss-log4j.xml"?
 I think it is set to INFO, which would ignore TRACE or DEBUG output, no matter how your categories are configured.
 Hope this helps
 Wolfgang
- 
        4. Re: how can you trace SOAP messages in JBoss?maverickdc Feb 20, 2009 10:46 AM (in response to maverickdc)Hi Wolfgang, thanks for your help. 
 unfortunately, it still doesn't work...
 i tryed to set the threshold to TRACE level, and after to DEBUG, but i have no messages in the server.log file...
 Dario
- 
        5. Re: how can you trace SOAP messages in JBoss?peterj Feb 20, 2009 11:28 AM (in response to maverickdc)The Axis-related setting will not work because JBoss AS no longer uses Axis. What version of the Getting Started guide did you look at? 
 Uncommenting the lines I pointed out works for me.
- 
        6. Re: how can you trace SOAP messages in JBoss?peterj Feb 20, 2009 11:56 AM (in response to maverickdc)I had to first rebuild my web service using 4.2.3, but here are the log entries: 
 console log (system info):08:50:39,952 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag= JBoss_4_2_3_GA date=200807181417) ... 08:50:40,405 INFO [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc. 08:50:40,405 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_16-b02 ,Sun Microsystems Inc. 08:50:40,405 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 
 server.log:2009-02-20 08:52:35,974 TRACE [org.jboss.ws.core.MessageTrace] Incoming Request Message <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> <env:Header/> <env:Body> <ns1:getRate xmlns:ns1='http://ws.jbia.org/'> <arg0>TX</arg0> </ns1:getRate> </env:Body> </env:Envelope> ... 2009-02-20 08:52:35,974 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> <env:Header/> <env:Body> <ns2:getRateResponse xmlns:ns2='http://ws.jbia.org/'> <return>-1.0</return> </ns2:getRateResponse> </env:Body> </env:Envelope> 
- 
        7. Re: how can you trace SOAP messages in JBoss?maverickdc Feb 20, 2009 12:09 PM (in response to maverickdc)Hi Peter, 
 the guide is
 "Getting Started with JBoss 4.0 Release 4"
 http://docs.jboss.org/jbossas/getting_started/v4/html/[/url]
- 
        8. Re: how can you trace SOAP messages in JBoss?peterj Feb 20, 2009 12:49 PM (in response to maverickdc)I know that 4.0.2 used Axis, and I think that 4.0.5 no longer uses Axis, but I don't know if 4.0.3 or 4.0.4 made the switch away from Axis. 
 Anyway, if you are using 4.2.3, you should really be reading the 4.2.x documentation.
 
     
    