At what point will these headers get freed and who will be responsible
for freeing them?

Currently, I add http headers right before axis2_svc_client_send_receive
and free them right after axis2_svc_client_send_receive

Thanks

-----Original Message-----
From: Danushka Menikkumbura [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2008 9:49 AM
To: Apache AXIS C Developers List
Subject: Re: Service client options to set custom HTTP headers


> But then the user need to create axis2_http_header_t instances. Can we

> use an string key value pair and covert them to the header type 
> internally?
>
No he doesn't have to. The interface call accepts the name and the value

and it in turn creates the header instance.

The interface call :
axis2_options_add_custom_http_header(
        axis2_options_t*    options,
        const axutil_env_t*    env,
        const axis2_char_t*    name,
        const axis2_char_t*    value);

Danushka

-- 
Danushka Menikkumbura
Technical Lead, WSO2 Inc.

blog : http://danushka-menikkumbura.blogspot.com/

http://wso2.com/ - The Open Source SOA Company



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



---------------------------------------------------
Confidentiality Notice:  This electronic mail transmission is confidential, 
may be privileged and should be read or retained only by the intended
recipient.  If you have received this transmission in error, please
immediately notify the sender and delete it from your system.

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

Reply via email to