I have built a webservice with axis2. It contains of one simple method. Now I want to add SOAPHeader to the response back to the client. I can't find any examples doing this. In axis1.* this could be done by getting the MessageContext and modify the SOAPEnvelope, but how to do this in Axis2??
Joined: Mar 22, 2005
Which API are you using? If it is a SAAJ client, then this example client shows how to set SOAP headers.