You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Siegers <An...@iocore.se> on 2003/01/20 13:35:40 UTC

MessageContext.getCurrentContext()

Hi.

Having a Webservice (axis 1.1b), message style, and sends an attachment to it.

It seems like the only way to get a handle to the Attachment, using the 4 different 

method signatures allowed is to use the static method MessageContext.getCurrentContext().

Since this method is static and the method does not take an argument like the webservice instance, does it not then assumes that one and only one MessageContext can exist in the jvm at one time?! Can the Axisservlet only handle one thread or request at a time?

Regards

Andreas