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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/06/07 08:19:25 UTC

[jira] Resolved: (AXIS2-2380) Session scope not working

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

Deepal Jayasinghe resolved AXIS2-2380.
--------------------------------------

    Resolution: Won't Fix

Hi Stephan ,

In the way SOAP session work is , client first need to get the ServiceGroupID into the client side and send that for the next invocations. And that is one of the limitation we have in Axis2 SOAP session management. In your case you are invoking an in-only operation and therefore there is no way to get the service group id back to the client.

I do not think that something we can fix , to have SOAP session support first you need to invoke in-out operation and then invoke whatever MEP you want. 

> Session scope not working
> -------------------------
>
>                 Key: AXIS2-2380
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2380
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Test
>          Components: deployment
>    Affects Versions: 1.1.1
>         Environment: Windows XP Service Pack2, Axis2 running as server, java 1.5.0_05
>            Reporter: Stephan Gloor
>            Assignee: Glen Daniels
>
> <service name="WeatherService" scope="soapsession"> ....
> doesn't work, when using the following code fragment:
>  
> ------------------------------------------------------------------------------------
> RPCServiceClient serviceClient = 
> new RPCServiceClient(); 
> Options options 
> = serviceClient.getOptions(); 
> options.setManageSession(true); 
> ... 
> serviceClient.invokeRobust(opSetWeather, opSetWeatherArgs); 
> ------------------------------------------------------------------------------------
>  
> the init method of the service is called every time the client executes invokeRobust on the same serviceClient instance.
> Thanks and kind regards, Stephan Gloor, Webservices Teacher, Switzerland
> ps. would be glad to know, if this is an 1.1.1 issue - so switching to a previous version would help.

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