Hi,

Apache Soap 2.2 is able to track a HttpSession. 
As long as you are working with the same Call-object on the client-side your
HttpSession is tracked using cookies. (this behavior is "on" per default)
Futhermore the value of the "scope" Parameter in your DeploymentDescripter
for your Class should be "session" for getting session-tracking to work.
If you set it up like this all requests, done by the >same< client-side Call
object, invoke methods on the >same< Object on the Server.
So your are able to store your App-Session as class-member.

btw: 
It's working fine for me in an ap-soap <-> ap-soap scenario. 
But i see quite a lot of issues getting this to work in an interop-scenario
with other SOAP-Client Implementations.

regards

ChrisC



-----Original Message-----
From: venkat reddy [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 7:58 PM
To: '[EMAIL PROTECTED]'
Subject: Session Tracking question.


Hi All,
        I've tried looking up the archives for session tracking but could
not find any. I am currently using SOAP services that are request based. Now
I need to use them on a per session base and access the session object for
a particular user request. My scenario is something like this. 
        At use authentication I create a Session Bean an place it in the
Session Object for that user. Now I need to access this session object
depending on some actions performed by the user on the client side. The
client sends the request for the soap service that has to handle the data it
sends and this soap service has to access the session bean that was created
during the authentication process for that user. 
        Can any one suggest/discuss something here? Please feel free to ask
any questions.

~Venkat

Reply via email to