rvice.
Praveen
- Original Message - From: "Tim K. (Gmane)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 20, 2005 1:13 PM
Subject: Re: Maintain session when using stubs generated by WSDL2Java
On the generated ServiceLocator call setMaintainSession(true)
Btw, for the first case you need to call setMaintainSession(true) on the
Service _before_ you get any Stubs from it.
Something like this (assuming AxisTest is my web service):
AxisTestServiceLocator ats = new AxisTestServiceLocator();
ats.setMaintainSession(true); // Axis specific
AxisTest stub =
enable cookies for the whole client not for just one
service.
Praveen
- Original Message -
From: "Tim K. (Gmane)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 20, 2005 1:13 PM
Subject: Re: Maintain session when using stubs generated by WSDL2J
On the generated ServiceLocator call setMaintainSession(true)
Or you can cast the generated Stub to javax.xml.rpc.Stub and then call
stub._setProperty(Stub.SESSION_MAINTAIN_PROPERTY, Boolean.TRUE) which is
the JAX-RPC way.
Both work in Axis, but the first one is Axis specific while the second
o
Hello all,
I was using Apache SOAp on client side and Axis on
server side. Since ouor soap services need enabling of cookies on client side, I
was maintaining juts one Call object and calling Call.setMaintainSession(true).
This enables cookies on client side.
Now we are migrating our client