axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charitha Kankanamge <>
Subject Re: soap header in stub
Date Tue, 03 Apr 2007 03:06:23 GMT
Hi Kang,
AFAIK you won't be able to retrieve SOAP headers using serviceClient. 
Because, with service clients you can only access SOAP body or the pay 
load. Though you can add SOAP headers, you do not have a way to retrieve 
SOAP header from service client.
Have a look at 
for more information on this.

You can use operationClient to retrieve the SOAP headers.

Also, the same topic was discussed in the following url.


Kang, Kamaljeet K. wrote:

>I am trying to retrieve soap header of the response from stub using
>serviceClient.getLastOperationContext() but OperationContext is always
>Is this the right way to retrieve soap header in stub?
>The information contained in this message may be privileged
>and confidential and protected from disclosure. If the reader
>of this message is not the intended recipient, or an employee
>or agent responsible for delivering this message to the
>intended recipient, you are hereby notified that any reproduction,
>dissemination or distribution of this communication is strictly
>prohibited. If you have received this communication in error,
>please notify us immediately by replying to the message and
>deleting it from your computer. Thank you. Tellabs
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message