You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "TAKAHASHI, Tomohiro" <t_...@mm.neweb.ne.jp> on 2002/08/03 20:53:49 UTC
multiple sessions in one client
Hi, All
I want to deal with multiple sessions, but bindingB sends the locA's Cookie.
Is this Bug?
--------- Session Scope Web Service Client ----------------
public static void main(String[] args) {
KenServiceLocator locA = new KenServiceLocator();
locA.setMaintainSession(true);
KenServicePortType bindingA = locA.getKenServicePort();
bindingA.test();
KenServiceLocator locB = new KenServiceLocator();
locB.setMaintainSession(true);
KenServicePortType bindingB = locB.getKenServicePort();
bindingB.test(); // <--- bindingB sends the locA's Cookie!!
}
----------------------------------------------------------
Thanks.
--
TAKAHASHI, KEN, Tomohiro