Solved

How to logSOAP Request/Response using Apache Axis

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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

724 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