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 Yan Lin <yl...@yahoo.com> on 2003/11/14 07:27:33 UTC

help: multiple stateful services

Hi,

I'm new to AXIS and I tried Example6 for a stateful service (i.e. using session).  It worked fine.
 Then, I expanded the example to contain 2 stateful services, i.e. now I have:

ServiceA with method a() and b()
ServiceB with method c() and d()

I have configured them in the same way (both in the code and in the wsdd file).  And in my test, I
call the service in this sequence:

ServiceA.a();
ServiceB.c();
ServiceB.d();
ServiceA.b();

It turns out that ServiceA is correctly executed with same session id, while ServiceB is not:
messages for c() and d() contain different session ids.

Does anyone know the reason?

Thanks!

Gloria

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree