EEDC: SOAP vs REST
-
Upload
francesc-lordan-gomis -
Category
Technology
-
view
343 -
download
1
Transcript of EEDC: SOAP vs REST
Execution Environments for Distributed Computing
The end of webservices as we know
EEDC
343
30
Master in Computer Architecture, Networks and Systems - CANS
Homework number: 2Group number: EEDC-32
Group members:
Francesc Lordan [email protected]
SOAP
REST
Web service definitionWebservice:Software system designed to support interooperable machine-to-machine interactions over The network
Library l = new Library();
Library l = new Library();
l.listbooks();
Library l = new Library();
l.listbooks();
Request
Library l = new Library();
l.listbooks();
Response
WSDL
WSDL
WSDL
2BIG PROBLEMS THAT SHOULD BE SOLVED INSOAP
#1 Overhead due to the extra information due to the xml format
#2 Inflexibility of the clients to
changes on the service
On REST everything is a resource
User specifies which resource wants interact with in the URI
http://domain.com/library/librarian
4METHODS (ALREADY SUPPORTEDBY HTTP)
ONLY
User can obtain some information using the GET method
#1
the POST method creates new data on the service resource
#2
the PUT method is used to create or update some information
#3
the DELETE method is used to remove information#4
SIMPLIER
MORE EFFICIENT
THE FUTURE
REST IS