Re: Axis Session Issues

2005-10-20 Thread Duncan Krebs
Richard,
Thanks for the idea, I tried it and however am still experiencing the same
issue. It also brings me to a possible misconception that I have, is it even
possible to maintain session when one client uses multiple web services on
one web server?

- Original Message - 
From: Richard Gregory [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, October 19, 2005 2:50 AM
Subject: Re: Axis Session Issues


 Hi Duncan,

 Do you have this setting in your service wsdd?

 parameter name=scope value=Session/

 If not, this may be the problem.

 Richard.

 Duncan Krebs wrote:

 Hi,
 I have an eclipse RCP application that communicates with a server via
axis
 web services. Running axis on both the client and the server. For my
 security model I'm trying to set a session object on the
HttpServletRequest
 which I get by calling
 context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST). I call
 conetxt.setMaintainSession(true) in the service and do the same on the
 client service object.
 
 In my initial login service I set a session object in the HttpSession
 attribute collection off the ServletRequest however when subsequent
services
 are called by the same client the Httpsession object is not maintained
and
 during debugging the boolean value of NewSession is set to true on the
 Session object.
 
 Does anyone know what I might be mssing? From reading the documentation I
 think I'm doing everything right. Thanks for any help. - Duncan
 
 
 
 
 




Re: Axis Session Issues

2005-10-19 Thread Richard Gregory

Hi Duncan,

Do you have this setting in your service wsdd?

parameter name=scope value=Session/

If not, this may be the problem.

Richard.

Duncan Krebs wrote:


Hi,
I have an eclipse RCP application that communicates with a server via axis
web services. Running axis on both the client and the server. For my
security model I'm trying to set a session object on the HttpServletRequest
which I get by calling
context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST). I call
conetxt.setMaintainSession(true) in the service and do the same on the
client service object.

In my initial login service I set a session object in the HttpSession
attribute collection off the ServletRequest however when subsequent services
are called by the same client the Httpsession object is not maintained and
during debugging the boolean value of NewSession is set to true on the
Session object.

Does anyone know what I might be mssing? From reading the documentation I
think I'm doing everything right. Thanks for any help. - Duncan



 





Axis Session Issues

2005-10-18 Thread Duncan Krebs
Hi,
I have an eclipse RCP application that communicates with a server via axis
web services. Running axis on both the client and the server. For my
security model I'm trying to set a session object on the HttpServletRequest
which I get by calling
context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST). I call
conetxt.setMaintainSession(true) in the service and do the same on the
client service object.

In my initial login service I set a session object in the HttpSession
attribute collection off the ServletRequest however when subsequent services
are called by the same client the Httpsession object is not maintained and
during debugging the boolean value of NewSession is set to true on the
Session object.

Does anyone know what I might be mssing? From reading the documentation I
think I'm doing everything right. Thanks for any help. - Duncan