You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/06/06 20:33:26 UTC

[jira] Updated: (AXIS2-2777) serviceClient.getOptions.setManageSession(true) option does not keep all the cookies / No way to access HTTP Transport headers in Axis2

     [ https://issues.apache.org/jira/browse/AXIS2-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2777:
------------------------------------

    Assignee: Deepal Jayasinghe

> serviceClient.getOptions.setManageSession(true) option does not keep all the cookies / No way to access HTTP Transport headers in Axis2
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2777
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2777
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: transports
>    Affects Versions: 1.2
>         Environment: Windows XP Professional 
> JDK1.5
> Axis2 1.2
>            Reporter: Serdar Badem
>            Assignee: Deepal Jayasinghe
>
> I am trying to use Axis2 to access some 3rd party web services which happens to use Set-Cookie in the HTTP Header (Which gets filled in once successfully authenticated) and manages the session that way.
> Axis2 does not allow any way to access to the HTTP Header from the MessageContext. When I use the serviceClient.getOptions.setManageSession(true)  option it seems like this option only stores the selected items in the header :
> HTTPConstants.HEADER_SET_COOKIE
> HTTPConstants.HEADER_SET_COOKIE2
> and ONLY the cookies with the following names: 
> Constants.SESSION_COOKIE or
> Constants.SESSION_COOKIE_JSESSIONID
> which is very limited. We need a better way to support Cookies or more generically make the fields in the HTTP Header available to the client from the MessageContext.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org