Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to logSOAP Request/Response using Apache Axis

Posted on 2010-09-09
5
1,627 Views
Last Modified: 2013-11-18
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 Ihave 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?
Also, for more info ,I am using log4j for logging the errors.

Any suggestions are highly appreciable.
Thanks,
AkhilKarthik
0
Comment
Question by:AKHILKARTHIK
5 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 33642482
0
 

Author Comment

by:AKHILKARTHIK
ID: 33642518
Thank you very much for the suggestion.
Do you have any example as how it was implemented.

My case, i am using Apache Axis wsdl2java for my java client application calling in SSL enabled webservice i.e. url with Https://.

 I wanted to log the Request/responses for my debugging.Can you give any suggestions/examples as to how to accomplish that..

I want to write to logs the SOAP requests/Responses .We are using log4j for logging.

Any help is highly appreciated.

Thanks in advance,
0
 
LVL 1

Expert Comment

by:su_mu
ID: 33680052
You can use TCP tunnel application to capture the incoming and outgoing messages to/from a web service for debugging.

Follow link for description.

http://www.builderau.com.au/architect/webservices/soa/How-to-use-Apache-TCP-to-debug-SOAP-apps/0,339024590,320271670,00.htm
0
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 37158226
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question