I assume this uses a ThreadLocal internally, so that a different object is
returned depending the thread that invokes it.

- Rob


----- Original Message ----- 
From: "Jakob Skovenborg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 10:54 PM
Subject: Re: RE: Axis MessageContext to the WebService


> Hej Jim
> How does that work with concurrent WebServices? Wont you get a
> MessageContext belongs to another session.
> /Jakob
>
> Jim Harris <[EMAIL PROTECTED]> wrote:
> > Jakob
> >
> > Usually the MessageContext is available to a Web service
> > invoked by axis
> > through the static method of the MessageContext class as
> > follows:
> >
> > MessageContext msgContext =
> > MessageContext.getCurrentContext();
> >
> > I think that is the one...
> >
> > HTH
> > Jim
> >
> > > -----Original Message-----
> > > From: Jakob Skovenborg [mailto:[EMAIL PROTECTED]
> > > Sent: 16 August 2003 08:06
> > > To: [EMAIL PROTECTED]
> > > Subject: Axis MessageContext to the WebService
> > >
> > >
> > > How do I pass the Axis MessageContext from the Pivot
> > Handler to
> > > the WebService. My Webservice has to get access to a
> > backend
> > > service which need the UserID from MessageContext.
> > > /Jakob
> > >
> >
> >
>

Reply via email to