Session Management in Axis1.2

Posted by venkat on Stack Overflow See other posts from Stack Overflow or by venkat
Published on 2010-03-28T07:38:48Z Indexed on 2010/03/28 7:43 UTC
Read the original article Hit count: 345

Filed under:
|

Hi,

In our application we are using Axis1.2. Our service has one instance variable profileDataManager which is responsible to return set of profiles. The application has pagination to display only 25 profiles at a time. My requirement is the profileDataManager should be instantiated only once for respective client. On subsequent calls, it should use the existing object.

For this i need the one service object should be created for user session.If a client sends another request, the service object created in previous call should be returned. On client side i am using Flex.

In CXF webserice, my requirement is fulfilled with an annotation '@HttpSessionScope'.

Is there away that i can get the abovementioned behavior in Axis?

I have given the following trials. but no success

added

and modified the java client

stub.setMaintainSession(true);

The above didn't work for me.

© Stack Overflow or respective owner

Related posts about axis

Related posts about sessions