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

Serdar Badem commented on AXIS2-2777:
-------------------------------------

Thanks Dims,
Sorry I didnt mean to derail the topic or ask for an additional specific cookie 
name to store.
My point is I would like see Axis2 keeping all the cookie values set using the 
Set-Cookie or Set-Cookie2 regardless of its name and use them for the 
subsequent WS calls when the ManageSession property is set to True. Currently 
it only keeps the cookies named  "JSESSIONID" or "axis_session"

Serdar

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to