I am creating some web services that produce and consume XML. The plan is to use Jersey 1.x on Tomcat 6.x with JAXB.
What I need to find out is; are there any rule of thumbs to follow when creating these services? What are the common practices when doing a PUT or GET? Does the consumer expect a response, status or object returned?
I’ve been reading and looking at examples of all of these scenarios but each author/blogger and how to seem to address these same scenarios differently.
Any suggestions from those who have been doing this a while?
Thanks
A few things everybody seem to agree or disagree on:
X-HTTP-Method-Overrideheader to specify your actual method.The attractiveness of REST is its simplicity; make sure you keep it this way. Being simple, documenting the services is easy and that is the real key, not that your are using POST or PUT.