users@jax-rpc.java.net

RE: Accessing HTTP Session and Cookies in JAX-RPC client (JWSDP 1 .3)

From: Kresimir Kers (ZG/ETK) <"Kresimir>
Date: Thu, 9 Sep 2004 16:11:50 +0200

So if this is true how can I get cookies (and send them in subsequent WS access) if those cookies are other than jsessionid.


Kreso

> -----Original Message-----
> From: Kevin Jones [mailto:kevinj_at_develop.com]
> Sent: 06. kolovoz 2004 11:17
> To: users_at_jax-rpc.dev.java.net
> Subject: RE: Accessing HTTP Session and Cookies in JAX-RPC
> client (JWSDP
> 1.3)
>
>
> If you are using HttpSession then the cookie sent is called
> jsessionid and
> this is handled by the stub directly (if you set the
> SESSION_MAINTAIN_PROPERTY property). However for other
> cookies you are on
> your own. I'm not sure there's anyway to get at the HTTP
> connection from the
> generated stubs, unless Bobby or one of the other folks knows
> differently?
>
> Kevin Jones
> http://kevinj.develop.com
>
>
> > -----Original Message-----
> > From: Merten Schumann [mailto:Merten.Schumann_at_asg.com]
> > Sent: 05 August 2004 07:22
> > To: users_at_jax-rpc.dev.java.net
> > Subject: RE: Accessing HTTP Session and Cookies in JAX-RPC
> > client (JWSDP 1.3)
> >
> > 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
> >
> >
>
>
> ---------------------------------------------------------------------
> 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