tags:

views:

16

answers:

0

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.

related questions