I think you can get the last response SOAP envelope from
axis2_svc_client_get_last_response_soap_envelope() method. From the SOAP
envelope you can get SOAP headers.

You can't access the msg_ctx directly from svc_client. For that you need
to get axis2_op_client from,
axis2_svc_client_get_op_client()
Then using that op_client you can retrieve msg_ctx by calling
axis2_op_client_get_msg_ctx()

-Manjula.



On Fri, 2008-01-25 at 09:15 +0530, Kasun Indrasiri wrote:
> 
> Hi,
> 
> Is it possible to access the SOAP headers from the client side in
> Axis2/c. In service side, we have the access to SOAP headers in
> 'invoke' method using axis2_msg_ctx_t, where we can get in_msg_ctx
> through axis2_op_ctx_t.
> Can we do this kind of thing in svc_client side? axis2_svc_client
> provides a way to get to get svc_ctx through
> axis2_svc_client_get_svc_ctx, but how we can access msg_ctx through
> this?
> 
> Thanks.
> 
> Kasun
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to