SlideShare ist ein Scribd-Unternehmen logo
1 von 7
EEDC

                          34330
Execution
Environments for                   REST or SOAP?
Distributed
Computing
Master in Computer Architecture,
Networks and Systems - CANS




                                   Homework number: 2

                                    Josep Subirats Castell
                                   (josep.subirats@bsc.es)
Table of Contents


 Advantages of REST over SOAP

 Disadvantages of REST over SOAP

 So, REST or SOAP?



                      2
Advantages of REST over SOAP (1/2)

 It uses the URI as interface and uses HTTP methods.
   – SOAP requires specific knowledge of a new XML specification.


 Simpler client side: only HTTP is required to access
  a REST WS.
   – SOAP requires the use of a specific toolkit libraries to form
     requests and parse the results.


 Requests and responses can be short (less traffic).
   – SOAP requires an XML wrapper in each request and response.



                                    3
Advantages of REST over SOAP (2/2)

 Its messages’ intent can be known by looking at the
  used HTTP method in the request.
   – SOAP always uses POST. Its Envelope must be examined (time
     consuming) to know if it is meant to create/destroy data.


 No need to worry about authentication and
  authorization: web servers take care of these tasks.
   – SOAP places this burden to the application developer.


 Easier to test: only a browser is needed to generate
  requests and visualize the responses.


                                  4
Disadvantages of REST over SOAP

 In REST, data types are not known ahead of time.
   – A WSDL file can be writen defining input/output parameters/data.


 SOAP is better when using attachments: it can
  transport big texts and binaries easily.
   – But it’s still easier and quicker when plain text strings


 Increased server complexity: some methods may
  require serialization of the output to XML.
   – (De)Serialization is handed by the SOAP server library.



                                     5
So, REST or SOAP?

 REST is easier to build and lightweight.

 REST servers harder to implement than SOAP.

 REST clients simpler to implement than SOAP.

 When hosting Web Services, it’s the client side
  complexity what matters most in attracting clients to
  use your Web Service.



                            6
Questions?




             7

Weitere Àhnliche Inhalte

Was ist angesagt?

Splitters in mule
Splitters in muleSplitters in mule
Splitters in mulevasanthii9
 
Mule esb mule message
Mule esb   mule messageMule esb   mule message
Mule esb mule messagesathyaraj Anand
 
The routing message processor scatter gather
The routing message processor scatter gatherThe routing message processor scatter gather
The routing message processor scatter gatherSon Nguyen
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler muleSon Nguyen
 
Mule Quartz connector
Mule Quartz connectorMule Quartz connector
Mule Quartz connectorAnkush Sharma
 
Runing batch job in mule
Runing batch job in muleRuning batch job in mule
Runing batch job in muleSon Nguyen
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored proceduremdfkhan625
 
Soap request in mule
Soap request in mule Soap request in mule
Soap request in mule Praneethchampion
 
Mulesoft vm transport reference
Mulesoft vm transport referenceMulesoft vm transport reference
Mulesoft vm transport referencekumar gaurav
 
Validating a soap request in mule
Validating a soap request in muleValidating a soap request in mule
Validating a soap request in muleAnirban Sen Chowdhary
 
Using spring task scheduler in java in mule
Using spring task scheduler in java in muleUsing spring task scheduler in java in mule
Using spring task scheduler in java in muleAnirban Sen Chowdhary
 
Mule message structure
Mule message structureMule message structure
Mule message structureShanky Gupta
 
Message structure
Message structureMessage structure
Message structureSon Nguyen
 
Mule slides for beginers
Mule slides for beginersMule slides for beginers
Mule slides for beginersVeera Kiran
 
Message queues
Message queuesMessage queues
Message queuesMax Bodnar
 
Introduction to mule esb
Introduction to mule esbIntroduction to mule esb
Introduction to mule esbKhasim Cise
 
Mule servlet connector
Mule servlet connectorMule servlet connector
Mule servlet connectorAnkush Sharma
 
Arch andmodulesmule
Arch andmodulesmuleArch andmodulesmule
Arch andmodulesmuleJavierMarRas
 

Was ist angesagt? (20)

Splitters in mule
Splitters in muleSplitters in mule
Splitters in mule
 
Scatter gather in mule
Scatter gather in muleScatter gather in mule
Scatter gather in mule
 
Mule esb mule message
Mule esb   mule messageMule esb   mule message
Mule esb mule message
 
The routing message processor scatter gather
The routing message processor scatter gatherThe routing message processor scatter gather
The routing message processor scatter gather
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler mule
 
Mule Quartz connector
Mule Quartz connectorMule Quartz connector
Mule Quartz connector
 
Mulesoft ppt
Mulesoft pptMulesoft ppt
Mulesoft ppt
 
Runing batch job in mule
Runing batch job in muleRuning batch job in mule
Runing batch job in mule
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Soap request in mule
Soap request in mule Soap request in mule
Soap request in mule
 
Mulesoft vm transport reference
Mulesoft vm transport referenceMulesoft vm transport reference
Mulesoft vm transport reference
 
Validating a soap request in mule
Validating a soap request in muleValidating a soap request in mule
Validating a soap request in mule
 
Using spring task scheduler in java in mule
Using spring task scheduler in java in muleUsing spring task scheduler in java in mule
Using spring task scheduler in java in mule
 
Mule message structure
Mule message structureMule message structure
Mule message structure
 
Message structure
Message structureMessage structure
Message structure
 
Mule slides for beginers
Mule slides for beginersMule slides for beginers
Mule slides for beginers
 
Message queues
Message queuesMessage queues
Message queues
 
Introduction to mule esb
Introduction to mule esbIntroduction to mule esb
Introduction to mule esb
 
Mule servlet connector
Mule servlet connectorMule servlet connector
Mule servlet connector
 
Arch andmodulesmule
Arch andmodulesmuleArch andmodulesmule
Arch andmodulesmule
 

Andere mochten auch

Andere mochten auch (17)

Ita b2 17 4-2013
Ita b2 17 4-2013Ita b2 17 4-2013
Ita b2 17 4-2013
 
Kandava
KandavaKandava
Kandava
 
Convidados de pedra
Convidados de pedraConvidados de pedra
Convidados de pedra
 
Consejos cardiosaludables
Consejos cardiosaludables Consejos cardiosaludables
Consejos cardiosaludables
 
First Get Good
First Get GoodFirst Get Good
First Get Good
 
23 fevralya
23 fevralya23 fevralya
23 fevralya
 
Fibra
FibraFibra
Fibra
 
Ita a2 ms 11 9-2013
Ita a2 ms 11 9-2013Ita a2 ms 11 9-2013
Ita a2 ms 11 9-2013
 
Rape as Instrument of War
Rape as Instrument of WarRape as Instrument of War
Rape as Instrument of War
 
Bases legales correcto
Bases legales correctoBases legales correcto
Bases legales correcto
 
Ejercicios excel
Ejercicios excelEjercicios excel
Ejercicios excel
 
Les compléments circonstanciels
Les compléments circonstancielsLes compléments circonstanciels
Les compléments circonstanciels
 
Historia general de la educacion
Historia general de la educacionHistoria general de la educacion
Historia general de la educacion
 
Ali CV Formate 1
Ali CV Formate 1Ali CV Formate 1
Ali CV Formate 1
 
Otter Paper
Otter PaperOtter Paper
Otter Paper
 
Tipos de argumentos
Tipos de argumentosTipos de argumentos
Tipos de argumentos
 
Cambios sociales en la adolescencia
Cambios sociales en la adolescenciaCambios sociales en la adolescencia
Cambios sociales en la adolescencia
 

Ähnlich wie Eedc homework2-jsc

Rest vs soap
Rest vs soapRest vs soap
Rest vs soapNaseers
 
53 hui homework2
53 hui homework253 hui homework2
53 hui homework2huis89
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni InturiSreeni I
 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Jackson F. de A. Mafra
 
Mobility Information Series - Webservice Architecture Comparison by RapidValue
Mobility Information Series - Webservice Architecture Comparison by RapidValueMobility Information Series - Webservice Architecture Comparison by RapidValue
Mobility Information Series - Webservice Architecture Comparison by RapidValueRapidValue
 
Soap and restful webservice
Soap and restful webserviceSoap and restful webservice
Soap and restful webserviceDong Ngoc
 
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...Edward Burns
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web servicesNeil Ghosh
 
Sending mail,web services
Sending mail,web servicesSending mail,web services
Sending mail,web servicesDevang Patel
 
Web Programming
Web ProgrammingWeb Programming
Web ProgrammingVijayapriyaP1
 
Web Service Interaction Models | Torry Harris Whitepaper
Web Service Interaction Models | Torry Harris WhitepaperWeb Service Interaction Models | Torry Harris Whitepaper
Web Service Interaction Models | Torry Harris WhitepaperTorry Harris Business Solutions
 
Future Internet
Future InternetFuture Internet
Future InternetSaber Ferjani
 
REST and Microservices
REST and MicroservicesREST and Microservices
REST and MicroservicesShaun Abram
 

Ähnlich wie Eedc homework2-jsc (20)

Rest vs soap
Rest vs soapRest vs soap
Rest vs soap
 
53 hui homework2
53 hui homework253 hui homework2
53 hui homework2
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni Inturi
 
REST & RESTful Web Services
REST & RESTful Web ServicesREST & RESTful Web Services
REST & RESTful Web Services
 
SOAP WEB TECHNOLOGIES
SOAP WEB TECHNOLOGIESSOAP WEB TECHNOLOGIES
SOAP WEB TECHNOLOGIES
 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015
 
Mobility Information Series - Webservice Architecture Comparison by RapidValue
Mobility Information Series - Webservice Architecture Comparison by RapidValueMobility Information Series - Webservice Architecture Comparison by RapidValue
Mobility Information Series - Webservice Architecture Comparison by RapidValue
 
Soap and restful webservice
Soap and restful webserviceSoap and restful webservice
Soap and restful webservice
 
Unit 2
Unit 2Unit 2
Unit 2
 
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
Sending mail,web services
Sending mail,web servicesSending mail,web services
Sending mail,web services
 
Web Programming
Web ProgrammingWeb Programming
Web Programming
 
Web Service Interaction Models | Torry Harris Whitepaper
Web Service Interaction Models | Torry Harris WhitepaperWeb Service Interaction Models | Torry Harris Whitepaper
Web Service Interaction Models | Torry Harris Whitepaper
 
Future Internet
Future InternetFuture Internet
Future Internet
 
REST and Microservices
REST and MicroservicesREST and Microservices
REST and Microservices
 
Soap xp-wg
Soap xp-wgSoap xp-wg
Soap xp-wg
 
Ftp servlet
Ftp servletFtp servlet
Ftp servlet
 
soap toolkit
soap toolkitsoap toolkit
soap toolkit
 
Mini-Training: Let's have a rest
Mini-Training: Let's have a restMini-Training: Let's have a rest
Mini-Training: Let's have a rest
 

KĂŒrzlich hochgeladen

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 

KĂŒrzlich hochgeladen (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Eedc homework2-jsc

  • 1. EEDC 34330 Execution Environments for REST or SOAP? Distributed Computing Master in Computer Architecture, Networks and Systems - CANS Homework number: 2 Josep Subirats Castell (josep.subirats@bsc.es)
  • 2. Table of Contents  Advantages of REST over SOAP  Disadvantages of REST over SOAP  So, REST or SOAP? 2
  • 3. Advantages of REST over SOAP (1/2)  It uses the URI as interface and uses HTTP methods. – SOAP requires specific knowledge of a new XML specification.  Simpler client side: only HTTP is required to access a REST WS. – SOAP requires the use of a specific toolkit libraries to form requests and parse the results.  Requests and responses can be short (less traffic). – SOAP requires an XML wrapper in each request and response. 3
  • 4. Advantages of REST over SOAP (2/2)  Its messages’ intent can be known by looking at the used HTTP method in the request. – SOAP always uses POST. Its Envelope must be examined (time consuming) to know if it is meant to create/destroy data.  No need to worry about authentication and authorization: web servers take care of these tasks. – SOAP places this burden to the application developer.  Easier to test: only a browser is needed to generate requests and visualize the responses. 4
  • 5. Disadvantages of REST over SOAP  In REST, data types are not known ahead of time. – A WSDL file can be writen defining input/output parameters/data.  SOAP is better when using attachments: it can transport big texts and binaries easily. – But it’s still easier and quicker when plain text strings  Increased server complexity: some methods may require serialization of the output to XML. – (De)Serialization is handed by the SOAP server library. 5
  • 6. So, REST or SOAP?  REST is easier to build and lightweight.  REST servers harder to implement than SOAP.  REST clients simpler to implement than SOAP.  When hosting Web Services, it’s the client side complexity what matters most in attracting clients to use your Web Service. 6

Hinweis der Redaktion

  1. Based on: http://geeknizer.com/rest-vs-soap-using-http-choosing-the-right-webservice-protocol/
  2. * A short response can be 10 times bigger using SOAP.
  3. * A short response can be 10 times bigger using SOAP.
  4. A short response can be 10 times bigger using SOAP. Through the use of industry-standard certificates and a common identity management system, such as an LDAP server, developers can make the network layer do all the heavy lifting. AUTHENTICATION: industry-standard certificates AUTHORIZATION: common identity management system, such as an LDAP server