Please go and have a look if REST supports WS Addressing!
I think REST was developed with the idea of a pritty small
SOAP XML Protocoll and hence every thing adding to it is against REST.
Josef
-sombody more known-to-the-subject to comment please.


-----Ursprüngliche Nachricht-----
Von: Denise Wu [mailto:wadie...@gmail.com] 
Gesendet: Dienstag, 17. Mai 2011 17:47
An: java-u...@axis.apache.org; java-dev@axis.apache.org
Betreff: RESTful webservice and session management

Hi,

I created a webservice and enabled session management on both server
and client. It works FINE until  I enable REST on the client by adding
the 3rd line of code in the serviceStub.java on the client side.
Session management stopped working.

// added session management
_serviceClient.getOptions().setManageSession(true);
_serviceClient.engageModule("addressing");

 // Enable REST
_serviceClient.getOptions().setProperty(Constants.Configuration.ENABLE_REST,
Constants.VALUE_TRUE);


Is there any incompatibility between REST and session management in axis2?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to