1. REST vs SOAP
Javier Álvarez
EEDC – March 5th 2012
2. Web Services
● W3C: “a software system designed to
support interoperable machine-to-
machine interaction over a network”
● HTTP is the most used protocol in WS
● Two main WS architectures:
– REST & SOAP
3. Overview
REST SOAP
● Remote operations are ● Remote operations are
performed over a resource: performed over a URL:
http://www.example.com/books/book_1 http://www.example.com/getBook
● Def ned by standard HTTP
i ● Always makes use of POST
methods (GET, POST, PUT method
and DELETE)
● Input and output data is ● Input and output data is
usually represented in XML represented in XML
(also JSON) (encapsulated)