The SOAPEnvelope (which you create on the client or receive from the service) has a getHeader() method for getting the SOAPHeader axiom class that has the appropriate methods. The ServiceClient (class member in the Stub) also has helper methods for adding SOAP headers.
_____ From: hoy hoy [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 1:55 PM To: [email protected] Subject: how to get soap header from stub in axis2 Hi all, I'm using Axis 2 1.1 and have a stub that was generated from a WSDL. The soap call that I'm making returns SOAP headers, namely session information. How can I retrieve those SOAP headers from my stub? What methods or helper classes do I need to use? Thanks, Hoy
