Solved

How to logSOAP Request/Response using Apache Axis

Posted on 2010-09-09
5
1,596 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

778 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