Tuesday, February 14, 2012

Restful Web Services (Note from the book by the same name)

In RESTful architectures, the method information goes into the HTTP method. In Re-
source-Oriented Architectures, the scoping information goes into the URI.

http://www.myservice.org/discussion/2008/12/10/{topic}

If the HTTP method doesn’t
match the method information, the service isn’t RESTful. If the scoping information
isn’t in the URI, the service isn’t resource-oriented.

RPC stands for Remote Procedure Call
An RPC-style web service accepts an envelope full of data from its client, and sends a
similar envelope back. such as SOAP
XML-RPC is mostly a legacy protocol these days,

Every RPC-style service defines a brand new vocabulary. By contrast, all RESTful web services share a standard vocabulary of
HTTP methods.

No comments:

Post a Comment