users@jax-rpc.java.net

RE: Accessing HTTP Session and Cookies in JAX-RPC client (JWSDP 1.3)

From: Merten Schumann <Merten.Schumann_at_asg.com>
Date: Thu, 5 Aug 2004 08:21:59 +0200

Hm, shouldn't the cookies get handled automatically when you use HTTP
Sessions?

How do you set the cookie on the WS server side? You have to call
<ServletEndpointContext> .getHTTPSession() to use HTTP Sessions at all
...
   Merten

> -----Original Message-----
> From: Kresimir Kers (ZG/ETK) [mailto:kresimir.kers_at_ericsson.com]
> Sent: Wednesday, August 04, 2004 10:06 AM
> To: 'users_at_jax-rpc.dev.java.net'
> Subject: Accessing HTTP Session and Cookies in JAX-RPC client
> (JWSDP 1.3)
>
> Hello,
>
> is it possible to get Cookie from response in JAX-RPC client
> and how to do it.
> I have situation where WS Server set some cookie in HTTP
> response that caries WS response that I need to obtain in
> client and store for subsequent calls to WS. Setting of
> SESSION_MAINTAIN_PROPERTY in Stub class does not solve my
> issue. Of course I also need to set that stored cookie to the
> HTTP call in next call to WS.
>
> Thanx,
>
> Kreso
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net