Hi Kasun,
"Kasun Indrasiri" <[EMAIL PROTECTED]> writes:
> 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?
op_client = axis2_svc_client_get_op_client(svc_client, env);
msg_ctx = (axis2_msg_ctx_t *)axis2_op_client_get_msg_ctx (op_client,
env,
AXIS2_WSDL_MESSAGE_LABEL_IN);
If you want to get
incoming msg_ctx AXIS2_WSDL_MESSAGE_LABEL_IN
outgoing msg_ctx AXIS2_WSDL_MESSAGE_LABEL_OUT should use.
thanks,
Dinesh
--
http://nethu.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]