axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wadi wadi <wadie...@gmail.com>
Subject Session management in AXIS2 - questions
Date Fri, 04 Mar 2011 10:27:41 GMT
Hi all,

I developed a axis2 webservice that returns an incremental value i+10 at
each request, for example 10, 20, 30, ...etc for each successive request
I need to provide a "client-based" session management to the webservice. To
explain here is the scenario:

client A requests the webservice a session will be created and initial value
is returned 10
client B requests the same webservice and nother corresponding session will
be created, value returned 10
client A requests the ws, value returned 20
client A requests the ws, value returned 30
client A requests the ws, value returned 40
client B requests the ws, value returned 20


Which kind of session scope to use (soap, transport, application) and why?
I tried the transport session but it doesn't differentiate between the two
different clients even if the two clients are interacting from different
machines.

Any idea?

Thanks for your help.

Mime
View raw message