I think you could either use a servlet session or manage a session on your own. To use servlet sessions, you could probably just declare a scope of session on your service. To create a session on your own you would probably want to create a soap header like you described and use it in some expiring hashmap with your user data. It could be as simple as declaring a "@WebParam(header=true) sessionId" in every operation and having the login return a session id.

- Dan

Jane Tao wrote:

Hi,
I need to create a session between a client and a XFire server. After a user login, he can do other operations until he logoff. But I don't know how to create such session in XFire. In Axis, I know that it put session id in soap header to keep track of the session. In XFire, how does it handle the session? If you know the answer, please help me. Thanks, Jane

------------------------------------------------------------------------
Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls <http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> using Yahoo! Messenger with Voice.



--
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com

Reply via email to