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??
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35249
7
posted
0
Which API are you using? If it is a SAAJ client, then this example client shows how to set SOAP headers.
Thanks for the example. I want to modify the SOAPHeader on the server side, i have figured it out how to do this on client-side. I'm using the apache axis2 api's.