jim wrote:
Can anyone give me a working example of how, when using the auto-generated ADB stubs, to set a cookie header in the HTTP request?
I find various examples but none seem to work.

I get a cookie set on my initial service call, then need to include it on subsequent requests. I've tried the set-manage-session route but that seems not to do anything, the received cookie is neither set locally, nor used on subsequent calls. I have doubts that session support is actually in Axis2C. Alternatively I've tried creating a cookie header and setting it in the stub/service client options; this also seems to do nothing. If the support is actually there, maybe I just need the right syntax for creating a header, setting a property etc.
Please have a look at the mail thread called http cookies in the axis2 user list some months before. Also have a look the readme text in the session server/cient samples in 1.7.0 rc2. If not this working please send a detailed explanation of your scenario.
Thanks,
Damitha

Thanks all,

Jim Hughes

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
For additional commands, e-mail: c-user-h...@axis.apache.org




--
__________________________________________________________________

Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/

blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
For additional commands, e-mail: c-user-h...@axis.apache.org

Reply via email to