Try:

SOAPEnvelope envelope = messageContext.getEnvelope();
envelope.getHeaders()

You probably need a server side handler to do that. You could try the static
methods in MessageContext in you service but IIRC that won't work.

HTH,
Robert

On 11/28/06, Jatinder Kaur <[EMAIL PROTECTED]> wrote:

Hi,

I've been able to write the client code using Axis2. When I send my
request to the server, the server returns an ID (as part of SOAP Header)
that I need to extract. Can anyone please let me know how can I do that --
any pointers to the documentation or the sample code will be greatly
appreciated.

Thanks.

Reply via email to