EEDC: SOAP vs REST

23
Execution Environments for Distributed Computing The end of webservices as we know EEDC 3 4 3 3 0 Master in Computer Architecture, Networks and Systems - CANS Homework number: 2 Group number: EEDC-32 Group members: Francesc Lordan [email protected]

Transcript of EEDC: SOAP vs REST

Page 1: 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]

Page 2: EEDC: SOAP vs REST

SOAP

Page 3: EEDC: SOAP vs REST

REST

Page 4: EEDC: SOAP vs REST

Web service definitionWebservice:Software system designed to support interooperable machine-to-machine interactions over The network

Page 5: EEDC: SOAP vs REST
Page 6: EEDC: SOAP vs REST

Library l = new Library();

Page 7: EEDC: SOAP vs REST

Library l = new Library();

l.listbooks();

Page 8: EEDC: SOAP vs REST

Library l = new Library();

l.listbooks();

Request

Page 9: EEDC: SOAP vs REST

Library l = new Library();

l.listbooks();

Response

Page 10: EEDC: SOAP vs REST

WSDL

Page 11: EEDC: SOAP vs REST

WSDL

Page 12: EEDC: SOAP vs REST

WSDL

Page 13: EEDC: SOAP vs REST

2BIG PROBLEMS THAT SHOULD BE SOLVED INSOAP

Page 14: EEDC: SOAP vs REST

#1 Overhead due to the extra information due to the xml format

Page 15: EEDC: SOAP vs REST

#2 Inflexibility of the clients to

changes on the service

Page 16: EEDC: SOAP vs REST

On REST everything is a resource

Page 17: EEDC: SOAP vs REST

User specifies which resource wants interact with in the URI

http://domain.com/library/librarian

Page 18: EEDC: SOAP vs REST

4METHODS (ALREADY SUPPORTEDBY HTTP)

ONLY

Page 19: EEDC: SOAP vs REST

User can obtain some information using the GET method

#1

Page 20: EEDC: SOAP vs REST

the POST method creates new data on the service resource

#2

Page 21: EEDC: SOAP vs REST

the PUT method is used to create or update some information

#3

Page 22: EEDC: SOAP vs REST

the DELETE method is used to remove information#4

Page 23: EEDC: SOAP vs REST

SIMPLIER

MORE EFFICIENT

THE FUTURE

REST IS