Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Axis logging of SOAP Request/Response

 
akhil karthik
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic