Hello, 
  
 I'm relatively new to WSRP and WSRP4J, and have a question about session 
handling. As far as I know WSRP provides dedicated data fields for passing 
session id's between producer and consumer (see 
http://dev2dev.bea.com/pub/a/2005/03/inside_wsrp.html?page=4) in the 
getMarkupResponse and performBlockingInteraction structures. 
  
 However, WSRP4J seems to use cookies for session handling. It is clear that a 
servlet container like Tomcat only understands JSESSIONID url parameters or 
session cookies, but are cookies part of the WSRP standard? What if I'm sending 
SOAP not over HTTP? Would it not be better / more elegant / more portable to 
make the producer extract session information directly from the WSRP message 
bodies instead of from the session cookie? 
  
 I'm currently looking for a way doing this in a Tomcat5.5/Axis1 producer 
environment, and I'm thinking about introducing a modified session handling in 
Tomcat using a custom HttpServlertRequestWrapper. I then want an Axis Handler 
to set the correct session in the Request object. 
  
 Unfortunately I'm not experienced enough with Tomcat internals, so maybe there 
are better ways to do this!? Please tell me if it all makes sense, and how to 
do it right? 
   
thank you!
Balazs

Reply via email to