Hi Chinthaka, hi Rodrigo,
1)
As Rodrigo has pointed out there is already an dependency of the service class
to Axis2 because of the OperationContext class in the setOperationContext()
method, if you need to access the framework. So having therefore an explicit
interface does not hurt anyfurther
ss following this (http://www.wso2.net/kb/106).
Then from the message context you can get access to the soap envelope
using msgCtxt.getEnvelope()
-- Chinthaka
Haug, Thomas wrote:
>
>
> Hi,
>
> I want to access the SOAPHeader in my service implementation class.
> In Axis
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.getCurre