On Thursday 27 March 2008, Glen Mazza wrote:
> Actually, I didn't realize I had replied to you privately, something is
> strange with your email account--for a few accounts, including yours,
> when you hit "reply" it goes not to the list but to just back to the
> person.

I think that's normal. You need to hit reply-all in order to reply to the list
and to the person.
http://www.unicom.com/pw/reply-to-harmful.html

Anyway it *** works *** now. (that is with 2.0.4,
                 still crashes with 2.0.5 see other thread)

I was confused by the fact that 

  ClientInterface test = (ClientInterface) context.getBean("Client");

returns the same object every time you called it
and even if I set the scope to prototype (for the client)
looks like all the proxy object are using the same client / connection
aka session.

So I couldn't test the session scope from one java program but I could from
two or  a java program and a browser.

So the trick is to use tha jaxws frontend (doesn't work with simple client 
frontend)
and do

client side:
ClientInterface test = (ClientInterface) context.getBean("Client");
((BindingProvider) test).getRequestContext().put(
                BindingProvider.SESSION_MAINTAIN_PROPERTY, true);

along with the scope="session" documented in a previous link in this thread.

           .bill

Reply via email to