Title: How to access the SOAPHeader

Hi,

I want to access the SOAPHeader in my service implementation class.
In Axis 1 I have done soemthing like
   SOAPHeader header = null;

   //extract the Header from the current SOAP Request
   try {
     header = (SOAPHeader) MessageContext.getCurrentContext().getRequestMessage().getSOAPEnvelope().getHeader();

   }
   catch (SOAPException e) {
     //do what ever
   }

Is there a similar mechanism in Axis2. I have not found a glue so far.
Thanks,
Thomas

Reply via email to