You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Brent Cerrato <br...@mosaicsoftware.com> on 2002/12/03 15:58:29 UTC

SOAP Tracing

Is there an easy way to get the "text" of a soap call from any of the objects used in an invoke (Call, the parameter vector, Param, SoapMappingRegistry, etc)?
 
I need to have the text of the call so that I can log it in a trace file without setting up a system of forwarding sockets.
 
Any ideas?
Thanks,
~brent cerrato~ 
Software Engineer - US 
Mosaic Software, Inc. 
Tel (office): +1 954 426 1190 x 268 
Fax: +1 954 426 1644 
http://www.mosaicsoftware.com <http://www.mosaicsoftware.com/>  
 

Re: SOAP Tracing

Posted by Scott Nichol <sn...@scottnichol.com>.
On SOAPHTTPConnection, you can call setRequestCopy and setResponseCopy
to specify StringBuffers into which to copy the request and response.
You then associate the SOAPHTTPConnection with the Call as the
transport.

Scott Nichol
----- Original Message -----
From: "Brent Cerrato" <br...@mosaicsoftware.com>
To: <so...@xml.apache.org>
Sent: Tuesday, December 03, 2002 9:58 AM
Subject: SOAP Tracing


Is there an easy way to get the "text" of a soap call from any of the
objects used in an invoke (Call, the parameter vector, Param,
SoapMappingRegistry, etc)?

I need to have the text of the call so that I can log it in a trace file
without setting up a system of forwarding sockets.

Any ideas?
Thanks,
~brent cerrato~
Software Engineer - US
Mosaic Software, Inc.
Tel (office): +1 954 426 1190 x 268
Fax: +1 954 426 1644
http://www.mosaicsoftware.com <http://www.mosaicsoftware.com/>



Re: SOAP Tracing

Posted by Scott Nichol <sn...@scottnichol.com>.
On SOAPHTTPConnection, you can call setRequestCopy and setResponseCopy
to specify StringBuffers into which to copy the request and response.
You then associate the SOAPHTTPConnection with the Call as the
transport.

Scott Nichol
----- Original Message -----
From: "Brent Cerrato" <br...@mosaicsoftware.com>
To: <so...@xml.apache.org>
Sent: Tuesday, December 03, 2002 9:58 AM
Subject: SOAP Tracing


Is there an easy way to get the "text" of a soap call from any of the
objects used in an invoke (Call, the parameter vector, Param,
SoapMappingRegistry, etc)?

I need to have the text of the call so that I can log it in a trace file
without setting up a system of forwarding sockets.

Any ideas?
Thanks,
~brent cerrato~
Software Engineer - US
Mosaic Software, Inc.
Tel (office): +1 954 426 1190 x 268
Fax: +1 954 426 1644
http://www.mosaicsoftware.com <http://www.mosaicsoftware.com/>