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]>

Reply via email to