axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Wilkerson" <cwilker...@travelnow.com>
Subject RE: Session Management
Date Fri, 31 Jan 2003 19:01:42 GMT
Maybe I didn't state my question clearly -- what I'm saying is that I'm unsure of how to get
to the HttpServletRequest object that is the foundation of this service request from MessageContext
or from a Handler.

Anyone?

-----Original Message-----
From: bin [mailto:binz@juke.biz]
Sent: Friday, January 31, 2003 2:04 PM
To: axis-user@xml.apache.org
Subject: Re: Session Management


if u take a look at samples.userguide.example4.LogHandler you will see u
have to implement invoke( MessageContext msgContext ) in a Handler

however i was also wondering how does a Service get a reference to the
MessageContext?

thanks

bin

> All,
>
> Subsequent client requests to my service don't appear to be retaining
> state.  I'm certain that I'm missing something rather trivial here re:
> session management but I can't find any documentation regarding the
> matter.  That said, I have found the following tid bit:
> "It is up to some handler on the request chain to set up an appropriate
> Session implementation and attach it to the MessageContext with
> MessageContext.setSession() so that anyone who wants to use session
> semantics can get at it."
> I see the lovely AxisHttpSession object that can be constructed from an
> HttpServletRequest or HttpSession -- but I'm unsure of how to get to
> either/both through a handler OR a service.  Any input is warmly welcomed.
> Thanks!
> Cory
>
>
>
>


Mime
View raw message