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 "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/07/11 18:14:31 UTC

[jira] Resolved: (AXIS2-3904) Remove limitation of Maintain Session value to String type.

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

Rich Scheuerle resolved AXIS2-3904.
-----------------------------------

    Resolution: Fixed

Thanks Samuel.  This fix is now committed.

> Remove limitation of Maintain Session value to String type.
> -----------------------------------------------------------
>
>                 Key: AXIS2-3904
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3904
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>         Environment: windows
>            Reporter: Samuel Isokpunwu
>            Assignee: Rich Scheuerle
>         Attachments: patch.txt
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Updated a method in BindingProvider.java in jaxws client side to return an object type instead of casting the object to a String type.
> This was done to accommodate applications that may return maintain session value as any object type other than String.
> Prior code:
> -----------
>     .....
>     String sessionValue = null;
>     .....
>     sessionValue = (String)properties.get(sessionKey);
>     .....
>     requestContext.put(HTTPConstants.COOKIE_STRING, sessionValue);
> Current changes:
> -----------------------
>     .....
>     Object sessionValue = null;
>     .....
>     sessionValue = properties.get(sessionKey);
>     .....
>     requestContext.put(HTTPConstants.COOKIE_STRING, sessionValue);

-- 
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