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:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 2:04 PM
To: [EMAIL PROTECTED]
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
>
>
>
>

Reply via email to