24. WSDL vs. REST
WSDL description of a web services
types defined in <xsd:schema>
simple messages
parts of messages
interface specification
operations of an interface
input message
output message
binding of interface to protocols & encoding
description of the binding for each operation
service description
URI and binding to port
<definitions>
<types></types>
<message>
<part></part>
</message>
<portType>
<operation>
<input>
<output>
</operation>
</portType>
<binding>
<operation>
</binding>
<service>
<port>
</service>
</definitions>
25. From RPC to REST
ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish book
26. URIs and Resources (Routing)
ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish book
27. HTTP Verbs
ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish book
29. “Hypermedia as the engine of
application state” (HATEOAS)
ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish book
30. The Advantages of REST over SOAP
Simpler API for CRUD
Standardize Development methodology
Wide industry adoption, Ease of use
Smaller payloads than SOAP
Testability
Notes de l'éditeur
Use HTTP as an Application Protocol – not a Transport Protocol