hi,
I'm now developing my first Android application.
My application interacts with a web service using
SOAP messages (JAX-WS). The web service sits in glassfish4 server.
So I want that every user that interacts with the web service will get a new instance of the class that represents the web service.
I read that I need to add the @HttpSessionScope annotation to the web service class.
But what should I write on the client side, in the android application to enable the session tracking?
If it was a regular application than all I needed to do is to add ((BindingProvider)proxy).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY,true);
to the application, but in android application I have no idea how to do this.
hope someone can help me.
thanks