log4j.logger.httpclient.wire.content=DEBUG
log4j.logger.httpclient.wire.header=DEBUG # for HTTP headers

Best Regards,
George

-----Original Message-----
From: Gary Weaver [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 06, 2008 11:37 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: How to dump SOAP message contents?

In addition to using tcp tunnel or tcpmon you can just use logging to
log the request and response:

log4j.logger.httpclient.wire.content=DEBUG

(within log4j.properties file in classpath (or within common/classes/,
shared/classes/, or (webapp)/WEB-INF/classes/, etc.)

That won't print the HTTPHeaders though, although the only thing in the
header that seems of much importance is SOAPAction.

Hope this helps,
Gary

--
Gary Weaver
Internet Framework Services
Office of Information Technology
Duke University




Juergen Weber wrote:
> see http://articles.techrepublic.com.com/5100-10878_11-1049605.html
>
> On Fri, Jun 6, 2008 at 3:18 PM, satish madanwad
> <[EMAIL PROTECTED]> wrote:
>   
>> Hi,
>>
>>   I am using WebServices with Apache Axis in my programs. I have
generated
>> client stubs and can prepare and  send the WebService request
properly.
>>
>>   I am trying to dump SOAP message (XML format) which is sent to
WebServer
>> for processing (to examine exact message being sent). I am not able
to find
>> any APIs for the same.
>>
>>   Can you please suggest, if there is any API to dump SOAP messages
sent
>> from Apache Axis to WebServer?
>>
>> Thanks in advance,
>> Satish
>>
>>
>>
>> ________________________________
>> Download prohibited? No problem. CHAT from any browser, without
download.
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. Any 
unauthorized review, use, disclosure or distribution is prohibited. If you are 
not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to