?
Solved

How to logSOAP Request/Response using Apache Axis

Posted on 2010-09-09
5
Medium Priority
?
1,806 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
[X]
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
5 Comments
 
LVL 92

Accepted Solution

by:
objects earned 2000 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

771 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