I recently upgraded from Axis2 1.1 to 1.3.  In version 1.1 I configured the 
RestServlet to handle all requests to /rest/*.  

The web services themselves aren't truely restful, but I need to be able to 
support both SOAP and POX.  Basically what I want is for my web service to 
support both SOAP and POX without having to modify my code.  This was working 
perfectly before as Axis2 stripped off the SOAP Envelop for SOAP requests and 
left Rest requests alone.  This is the behavior that I want, but I am having 
difficulty figuring out how to configure the server side.

Since upgrading to 1.3, I discovered that the RestServlet no longer exists.  In 
addition, I am having difficulty figuring out how to configure the server side. 
 Are SOAP and Rest request handled by a single endpoint now?  If so, the axis2 
documentation says "REST Web Services do not have Headers and the payload is 
sent directly.", does this mean that Rest services don't have a SOAP Envelope, 
or that HTTP SOAP Headers are absent?

I would appreciate it if someone could point me in the right direction, or 
refer me to some documentation that has a bit more detail than the "RESTful Web 
Services Support" page in the Axis2 docs.

Thanks,

John

Reply via email to