File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Apache Axis logging of SOAP Request/Response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Apache Axis logging of SOAP Request/Response" Watch "Apache Axis logging of SOAP Request/Response" New topic
Author

Apache Axis logging of SOAP Request/Response

akhil karthik
Greenhorn

Joined: Jul 06, 2009
Posts: 13
I have a javaclient calling in Htts :// webservice call. As SSL eanbled ,the message will be encryted. Is there a way, i can log the Request/Response XMLS, as it will be easy for my debugging. I wanted to have the logging avaliable for debugging. How do we accomplish using Apache Axis stubs? as i am using Apache Axis wsdl2java and would like to know if there are any example on how to use any Axis logging to log the SOAP Request/Responses?

Any suggestions are highly appreciable.
Thanks,
AkhilKarthik
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
I don't know if this is appropriate for the version of Axis you use, but have you seen the class org.apache.axis.handlers.LogHandler?
This is a handler which logs request and response messages to the Axis log.
If this is not appropriate, then probably there is something similar in the version you use. JAX-WS also has a handler-mechanism which can be used for logging SOAP messages on server and client side.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache Axis logging of SOAP Request/Response