No I dont think we support that parameter. Although you set it into the
options object it is not set into HTTPClient at the sender. You may have to
raise this issue requesting for it as a new feature to Axis2.

Thanks,
Keith.

On Sun, Mar 8, 2009 at 6:44 PM, esu2 <johnzhang...@hotmail.com> wrote:

>
> Thank you.
> Sorry I guess my question was not clear.
>
> I was looking for how to set cookie attribut in a web service call.
>
> The example you provided demostrated how to set cookie when request a web
> page.
> I thought when calling a web service, we call a client service:
>
> ServiceClient sc = service._getServiceClient();
> then, acquire a "options" object from service:
> Options options =  sc.getOptions();
>
> the attributs set in options:
> options.setManageSession(true);
>
> options.setProperty(HTTPConstants.COOKIE_POLICY,CookiePolicy.BROWSER_COMPATIBILITY);
> ...
> However, if I use the same way to set SINGLE_COOKIE_HEADER, it seems not
> working:
> options.setProperty(HttpMethodParams.SINGLE_COOKIE_HEADER,Boolean.TRUE);
>
> any idea?
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/set-%22http.protocol.single-cookie-header%22-in-Axis2-tp22393645p22397812.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>


-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Reply via email to