axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject re: MessageContext.getCurrentContext()
Date Tue, 21 Jan 2003 05:00:38 GMT

one of the great things about axis is that you can see all the internal
workings of the system, and from that not only understand axis (always good
for debugging) but learn some tricks that are useful in your own
applications.

I suggest you look at the method to see how it works...

-steve
---------From: Andreas Siegers Andreas.Siegers@iocore.seSubject:
MessageContext.getCurrentContext()
Date: Mon, 20 Jan 2003 13:35:40 +0100
From: Andreas Siegers <Andreas.Siegers@iocore.se>

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





Mime
View raw message