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

Deepal Jayasinghe commented on AXIS2-2009:
------------------------------------------

Well  , I thought through this and came following to my mind.

To support transport session in transport independent manner we can add a new 
method into TransportListener API, and the API will look like below;

SessionContext getSessionContext(MessageContext msgCtx);

Then we can implement TransportListener to implement its own way of handling 
sessions. With that change we can remove HTTPRequest one InstanceDispatcher.

Any comments ....

> InstanceDispatcher depends on HttpServletRequest when the services' scope is 
> "transportsession"
> -----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2009
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2009
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>         Environment: Any
>            Reporter: Saminda Wishwajith Abeyruwan
>         Assigned To: Deepal Jayasinghe
>
> In InstanceDispatcher; line 68; fillContextsFromSessionContext(msgContext); 
> depends on HttpServletRequest. This should not depend on any transport. There 
> should be an interface to get the session object, as managing of the 
> SessionContext depends on the transport implementor. 

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