You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Stefan Lecho <st...@yahoo.com> on 2007/01/22 10:57:01 UTC

[Axis2 1.1] Log incoming SOAP request

Hello,

Currently we are using Tomcat to deploy our webservices. I have tried to log the incoming SOAP requests with the aid of the Tomcat built-in RequestDumperValve, but this valve does not log the request body. Is there a way in Axis2 or Tomcat to log all incoming SOAP requests - i.e. the raw request before it gets treated/manipulated by Axis - to a file through a log4j configuration ?

Regards, Stefan Lecho.




 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

Re: [Axis2 1.1] Log incoming SOAP request

Posted by Arnout Engelen <ar...@bzzt.net>.
Stefan Lecho schreef:
> Currently we are using Tomcat to deploy our webservices. I have tried 
> to log the incoming SOAP requests.
If you're doing this for debugging purposes rather than 
`production-logging', I found the proxy-tool WebScarab from OWASP really 
convenient. Only good for debugging/testing though, since it requires a 
graphical display and noticably slows things down, but quite nice while 
developing.

Too bad its WSDL-parsing is not quite `there yet', otherwise calling a 
webservice from it would also seem nice. Anyone know a nice tool that 
generates some stub UI based on a WSDL to call a webservice for testing?

Arnout

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2 1.1] Log incoming SOAP request

Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Stefan,

On 22 Jan 2007, at 09:57, Stefan Lecho wrote:

> Hello,
>
> Currently we are using Tomcat to deploy our webservices. I have  
> tried to log the incoming SOAP requests with the aid of the Tomcat  
> built-in RequestDumperValve, but this valve does not log the  
> request body. Is there a way in Axis2 or Tomcat to log all incoming  
> SOAP requests - i.e. the raw request before it gets treated/ 
> manipulated by Axis - to a file through a log4j configuration ?


you could write a custom module, or use the one described here http:// 
ws.apache.org/axis2/1_1_1/modules.html.


Regards,
Michele

>
> Regards, Stefan Lecho.
>
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews at  
> Yahoo! Games.