Solved

How to logSOAP Request/Response using Apache Axis

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

706 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now