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.

Reply via email to