Danushka Menikkumbura wrote:

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);

If I have 4-5 headers, it is easier to use an array I guess.

Samisa...


Danushka



--
Samisa Abeysinghe Director, Engineering; WSO2 Inc.

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


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

Reply via email to