users@jax-rpc.java.net

Re: Session state

From: Kevin Jones <kevinj_at_DEVELOP.COM>
Date: Fri, 29 Nov 2002 11:26:25 +0000

What value did you set the property too?

stub._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, new Boolean(true));

works for me,

Kevin Jones
Developmentor
www.develop.com

> -----Original Message-----
> From: Public discussion on JAX-RPC
> [mailto:JAXRPC-INTEREST_at_JAVA.SUN.COM] On Behalf Of Helen Hunter
> Sent: 28 November 2002 18:10
> To: JAXRPC-INTEREST_at_JAVA.SUN.COM
> Subject: Session state
>
>
> Hi all,
> I am trying to maintain a session b/w my client and service.
> I set the maintain_session_property on the client stub and use the
> ServiceEndpointContext to getHttpSession. The getHttpSession
> returns a new
> session for each request. Is there anything that I am
> missing? Does the
> latest implementation of jax-rpc support this? Can someone
> please help.
>
> thank you.
>
> --helen
>
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>