You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Kiran Devaram <ki...@yahoo.com> on 2003/04/10 19:07:01 UTC

Capturing Client's request

Scott,
 I downloaded the nightly version of soap and tried
doing what you suggested.
But I found that the SOAPHTTPConnection is not found
in the soap.jar file. I am getting the following error
when I tried using 
it.

Can you please send me the soap.jar file that has the
org.apache.soap.transport.http  package in it. I need
it badly. 
----------------------------------------------------------------------
TimeClient.java:7: cannot resolve symbol
symbol  : class http
location: package transport
import org.apache.soap.transport.http ;
                                 ^
TimeClient.java:15: cannot resolve symbol
symbol  : class SOAPHTTPConnection
location: class TimeClient
                        SOAPHTTPConnection soapCon =
new 
SOAPHTTPConnection();
                        ^
TimeClient.java:15: cannot resolve symbol
symbol  : class SOAPHTTPConnection
location: class TimeClient
                        SOAPHTTPConnection soapCon =
new 
SOAPHTTPConnection();
                                                      
  ^
3 errors
---------------------------------------------------------------------


Thanks,
Kiran

On Thu, 10 Apr 2003 Scott Nichol wrote :
>The current Apache SOAP code has this capability. 
You 
>explicitly
>create an instance of SOAPHTTPConnection and call the

>setRequestCopy
>method to register a StringBuffer that will receive a
copy of 
>the
>request.  You call the setSOAPTransport method on
your Call 
>instance
>to tell it to use the connection you have created. 
After 
>calling
>invoke, a copy of the request will be in your
StringBuffer.
>
>You can get a nightly build at
>http://cvs.apache.org/dist/soap/nightly/.
>
>On 9 Apr 2003 at 15:52, Kiran  Devaram wrote:
>
> > Dear All,
> >
> >              I want to capture the SOAP Client's
request(XML
> > payload) in the form of a string using SOAP
libraries. After
> > looking at the SOAPAPI and in that, the class CALL
and the 
>method
> > invoke(..), I did not find any method using which
I can 
>capture
> > the request from the client. So, I would like to
modify the 
>SOAP
> > source code and see if its possible to add a
method to capture 
>the
> > request from client.
> >
> >       Please let me know if its possible. Also, I
would 
>appreciate
> > it if you can send me the link where I can
download the SOAP
> > source code from.
> >
> > Thanks,
> > Kiran


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com