SOAP vs REST
A set of functions that can be called remotely using HTTP
> Used by other programs and programmers
> Define functions and arguments
> Return data rather than a Web page
|
SOAP
|
REST
|
| > Requires WSDL files to publish resources
> XML in request and response > Developer needs to know the XML syntax for the service > Uses Remote Procedure Calls (RPCs) over HTTP > XML-wrapped RPC difficult to “sniff” |
> Uses a URI to locate objects
> Passes method calls as GET parameters > Uses well-known calls (GET, POST, PUT, DELETE) > Uses plain HTTP > Calls can be secured by the firewall or via certificates |
No comments yet
Leave a reply
