Re: Using global variables in Axis (HttpSession and ServletContext)

2005-08-17 Thread Jeff Greif
You can get access to the MessageContext in your threads IF you put it there yourself instead of depending on the static method MessageContext.getCurrentContext(). Having invoked that method where it works (the thread handling the web service request), you can place the result in a thread loc

Using global variables in Axis (HttpSession and ServletContext)

2005-08-17 Thread Juha Kononen
Thanks for advise! Too bad that it's not possible to get an access to MessageContext in user's own threads. Does this mean that the session mechanism can be used only partially in axis (because there is no way to get HttpSession in threads)? I had an idea to use HttpSession as a global variable i