Hi all, 

In my WS application I store  objects   in session using this methode:

WebServiceContextImpl().getMessageContext().put(key, object)

And I get theme in the response interceptor using : 

(object) message.getExchange().getInMessage().get(key);


So, that works fine but . what about calling 2 or more webservices at the
same time. will Cxf create a unique session for each transaction ? or store
data in the same session ? 

I did a test, I have 2 webservices (WS1 and WS2)  , the first WS stors a
data 'x' in session. the second  does nothing (empty methode). And in my
OutInterceptor,  normally by calling WS2 after WS1, the value 'x' is
undefine but  the interceptor retrieve the value 'x' stord by the first ws.






--
View this message in context: 
http://cxf.547215.n5.nabble.com/Interceptors-Session-data-confusion-tp5504921p5504921.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to