Hi Alex ;

We only handle Set-Cookie2 and Set-Cookie , seems we need to change the
code to support your requirement. So please create a JIRA , then we will
be fixing that for next release.

Thanks
Deepal

> Hi All,
>  
> Some may have already read this because I posted this earlier but
> didn't specify that it's axis2.
>  
> I have to write a client to a webservice where the login call is SOAP
> but it returns a cookie, JSESSIONID, in the HTTP headers if the login
> was successful.  As the client, I'm suppose to extract the JSESSIONID
> and return it in the HTTP headers on the subsequent calls. 
>  
> With Axis2, I can't figure out a way to do this.  I thought perhaps
> calling OperationClient.getOptions().setManageSession(true) but that
> didn't work.  I thought perhaps after the login call, call
> MessageContext.getMessageContext() to retrieve the http headers but
> that didn't work either.
>  
> I've been searching in the archives but couldn't find any references
> on how to resolve this.
>  
> What can I do here?  I need to
>  
> 1. retrieve the jsession id
> 2. set it in the outgoing http headers.
>  
> Any help will be much appreciated.
>  
> --Alex
>  


-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



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

Reply via email to