Jakob Skovenborg [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 11:44 PM
To: [EMAIL PROTECTED]
Subject: RE: Axis MessageContext to the WebService
Hej Rober and Jim
Thank's a lot. I did'nt know this ThreadLocal mechanism. For other purposes,
do you know any examples how to use it.
essage-
> > From: Hans Jakob Skovenborg [mailto:[EMAIL PROTECTED]
> > Sent: 18 August 2003 15:08
> > To: '[EMAIL PROTECTED]'
> > Subject: SV: Axis MessageContext to the WebService
> >
> >
> > Hej Jim
> > How does that work with concurren
Skovenborg [mailto:[EMAIL PROTECTED]
> Sent: 18 August 2003 15:08
> To: '[EMAIL PROTECTED]'
> Subject: SV: Axis MessageContext to the WebService
>
>
> Hej Jim
> How does that work with concurrent WebServices? Wont you get a
> MessageContext belongs to another sess
Hej Jim
How does that work with concurrent WebServices? Wont you get a
MessageContext belongs to another session.
/Jakob
-Oprindelig meddelelse-
Fra: Jim Harris [mailto:[EMAIL PROTECTED]
Sendt: 18. august 2003 15:10
Til: [EMAIL PROTECTED]
Emne: RE: Axis MessageContext to the WebService
rned 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
> 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
> >
>
>
> > 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
> > &
.
> >
> > 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
> > &
> Sent: 18 August 2003 15:55
> To: [EMAIL PROTECTED]
> 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 Harr
> 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
> >
>
>
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
>
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
one: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/
(see srv.2.2).
Thanks for the clarification on MessageContext...
Cory
-Original Message-
From: Wes Devauld [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 9:38 AM
To: [EMAIL PROTECTED]
Subject: Re: Axis MessageContext
Firstly I don't think there is only one instance of a servlet for all calls
to a web context. The reason all member variables are static is because it
does create several servlets. With Servlets you do have to deal with
mulitple threading issues.
Second, MessageContext.getCurrentContext does co
Two questions:
1) Like servlets, is there exactly one instance of the service I've exposed via axis?
2) If so, can I operate under the assumption that MessageContext.getCurrentContext()
directly correlates to the current request? Much like Thread.currentThread()?
Thanks!
Cory
15 matches
Mail list logo