Sure there is .. MC.getCurrentMC()-> OperationContext -> AxisOperation.
AFAIK We can use this only after the MessageReciver level, since message receiver is the one which set's message context to the Thread..
In fact even the operation name is not needed .. if dispatch has succeeded in finding an operation then its avail if MR wants it. So in that case let's simplify by passing nothing in!
According to my undestanding in this case the operation would be ping, since we are getting the request for the ping module, not for the operation which we are going to check.. IMHO Dispatch would not be be able to find the operation. We might need to find the AxisOperation at the ping module by the operation name(received in the body or found from some where else).. Please correct me if I'm thinking of something different to the idea concluded by the discussion... Thanks, Thilina
Sanjiva. -- Sanjiva Weerawarana, Ph.D. Founder & Director; Lanka Software Foundation; http://www.opensource.lk/ Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/ Director; Open Source Initiative; http://www.opensource.org/ Member; Apache Software Foundation; http://www.apache.org/ Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/ --------------------------------------------------------------------- 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]