You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Manjula Peiris <ma...@wso2.com> on 2008/10/17 13:23:29 UTC

Re: Regarding custom header in the SOAP Request generated by the axis2c client

On Thu, 2008-10-16 at 11:29 +0000, Baxi, Rinilkumar (TCS) wrote:
> Hi All,
> 
>  
> 
> I am trying to engage one module with axis2c engine, which takes care
> of the session management. For testing this module I have to add a
> custom header containing session commands in the SOAP Request
> generated by the axis2c client. 
> 
>  
> 
> Kindly let me know how I can engage the custom header in the SOAP
> Request using the axis2c client.

you can use,

AXIS2_EXTERN axis2_status_t AXIS2_CALL
    axis2_svc_client_add_header(
        axis2_svc_client_t * svc_client,
        const axutil_env_t * env,
        axiom_node_t * header);

function in the svc_client api.	


> 
>  
> 
> Thanks & Regards,
> 
> Rinil 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org