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.
posted 5 years ago
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.