Thanks!

It appears setting HttpClientParams to include
params.setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY) does the
trick.

Dave

-----Original Message-----
From: Tomek Sztelak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 15, 2007 4:35 AM
To: [email protected]
Subject: Re: [xfire-user] http header access from generated client

Are you sure that HttpClient doesn't maintains session automatically ?
Try to  check HttpClient docs, maybe you  don't need to do anything or
just set one option on client.

On 3/14/07, Dave Shannon <[EMAIL PROTECTED]> wrote:
>
>
> I'm accessing an xFire web service on Tomcat that I specify as session

> scope and see the response returned with a Set-Cookie header with a 
> JSESSIONID value.
>
> I'm accessing the service from an xFire wsdl generated client class 
> but can't figure out how to retrieve the http response header to 
> retrieve the session id for subsequent requests.  I tried adding an 
> InHandler to the client but didn't see a way to access the response
from the MessageContext.
>
> Any help would be appreciated.
>
> Thanks,
>
> Dave


--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to