hmmm, this does not work.
It uses thread local storage and will work only if used with the
thread which invokes an Axis2 service.. In other words, it'll work
only inside the service.
The result of MessageContext.getCurrentMessageContext() is null if
called this way
public class Test {
public Test() {
MessageContext ctx = MessageContext.getCurrentMessageContext();
// ctx is null
}
}
Michele
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]