You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sai Arunachalam <sa...@gmail.com> on 2006/06/15 11:54:24 UTC

[Axis2] Client cookie support

Hi,

   Is there a way I can set a cookie (my own) in the HTTP requests sent to a
web service via Axis2 clients? The cookie I wish to set contains
authentication information and not session information.

I currently use HttpClient wherein I am able to set the cookie as follows:

    HttpState initialState = new HttpState( );
    initialState.addCookie( mycookie );
    httpclient.setState(initialState);

I am trying to move my codebase to use Axis2 and am not able to find out how
to do this in Axis2? If anyone can provide me with links to examples or any
resource, that would be a great help.

Thanks,
Sai