Thanks for the info on the new methods. I downloaded a recent code base
and was able to get it to work.
Then I realized that unfortunately, the code I'm writing has to work with
the version of SOAP that comes with WAS4. (Would that be SOAP version
2.3.1? - how does one tell?)
There must have been a way to do this in version 2.3.1 - altho I can't for
the life of me see how (see a description of my original efforts below).
Thanks much for helping....
- Dave Levitt
Scott Nichol
<snicholnews@scott To: [EMAIL PROTECTED]
nichol.com> cc:
Subject: Re: how to set cookie in
SOAPHTTPConnection?
11/18/2002 05:06
PM
Please respond to
soap-user
I'm not sure what is available for various versions of Apache SOAP.
With the current code base, SOAPHTTPConnection has a setCookies method.
Also, Call has an overloaded invoke method that accepts HTTP headers as
a Hashtable:
public Response invoke(URL url, String SOAPActionURI, Hashtable
headers) throws SOAPException
These may have been added after 2.3.1 was released, so they may only be
in the current code.
Scott Nichol
----- Original Message -----
From: "David Q Levitt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 4:50 PM
Subject: how to set cookie in SOAPHTTPConnection?
>
>
>
>
> How do I pass a LtpaCookie to a web service using a SOAP call? I
believe
> the cookie should be passed in the http header (not the SOAP header).
I've
> constructed the SOAP Call but when I execute
soapCall.getSOAPTransport() I
> get a null returned. If I try to construct the SOAPTransport as:
> SOAPTransport soapTransport = new SOAPHTTPConnection(), then when I do
> soapTransport.getHeaders() I get a null returned. There is no
> soapTransport.setHeaders() method.
>
> What am I missing here?
>
> Thanks much for any help.
>
> - Dave Levitt
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>