This content has been marked as final. Show 1 reply
If you are using JBoss.Net you can add the scope attribute to the @jboss-net.web-service tag something like
* @jboss-net.web-service * urn="MyStatefullService" * scope="Session" * expose-all="true"
Then you just have to maintain the session cookie that axis returns.
If you are just using Axis without the JBoss.Net portion, perhaps adding a scope parameter to your service in the deployment descriptor will help you out
<service name="MyStatefullService" provider="Handler"> <parameter name="scope" value="Session"/> . . . <requestFlow name="MyStatefullServiceRequest"> . . . </requestFlow> <responseFlow name="MyStatefullServiceResponse"> . . . </responseFlow> </service>
You still have to maintain (return) the cookie on the client side.