SlideShare a Scribd company logo
EEDC
Execution
                                       REST Vs SOAP,
                                       Why Use REST
Environments for                     Architecture for Web
Distributed                               Services?
Computing
European Master in Distributed
Computing, EMDC
                                        Homework number: 2
                                      Personal number: EEDC-71


                                         Ioanna Tsalouchidou –
                                     ioannatsalouchidou@gmail.com




                                 1
Web Services


machine-to-machine communication


    SOAP - based


    HTTP - based




                           2
What is SOAP?

Simple Object Access Protocol: Protocol specification for
  exchanging structured information in the implementation of
  Web Services
   
       No specific encoding for the message body
   
       Verbose XML format → considerably slower
   
       Response caching difficult, POST-requests, complex
       XML




                              3
What is REST

REpresentation State Transfer: software architecture for
  distributed hypermedia systems as the World Wide Web




    
        For REST everything is resources
    
        Simple point-to-point communication over HTTP using XML



                               4
What is good about it ?

Advantages:

  
      Lightweight – not a lot of extra XML markup
  
      Human Readable Results
  
      Easy to build – no toolkits required
  
      Scalability of components interactions
  
      Generality of interfaces
  
      Independent deployment of components




                                  5
Key part 1


Any HTTP client talks with any HTTP server

      
          No further configuration needed

      
          No need to know the method names




                                6
Key part 2

Use of only four methods which are already supported by
  HTTP

    
        GET
    
        POST
    
        PUT
    
        DELETE




                            7
Which is preferred?




                      8
Which one is more lightweight ?




      REST        Vs
                            SOAP


                   9

More Related Content

Similar to Rest vs soap

EEDC SOAP vs REST
EEDC SOAP vs RESTEEDC SOAP vs REST
EEDC SOAP vs REST
Roger Rafanell Mas
 
Rest over soap
Rest over soapRest over soap
Rest over soap
vhpvmx
 
Eedc homework2-jsc
Eedc homework2-jscEedc homework2-jsc
Eedc homework2-jsc
jsubirat
 
Rest over soap
Rest over soapRest over soap
Rest over soap
Hugo Perez
 
200211 Fielding Apachecon
200211 Fielding Apachecon200211 Fielding Apachecon
200211 Fielding Apachecon
Daniel Parker
 
53 hui homework2
53 hui homework253 hui homework2
53 hui homework2
huis89
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
IRJET Journal
 
RESTful Web Services @AnkaraPHP meetup
RESTful Web Services @AnkaraPHP meetupRESTful Web Services @AnkaraPHP meetup
RESTful Web Services @AnkaraPHP meetup
Fatih Karatana
 
REST vs SOAP
REST vs SOAPREST vs SOAP
REST vs SOAP
Juan Luis Pérez
 
Api 101
Api 101Api 101
RESTful applications: The why and how by Maikel Mardjan
RESTful applications: The why and how by Maikel MardjanRESTful applications: The why and how by Maikel Mardjan
RESTful applications: The why and how by Maikel Mardjan
Jexia
 
2 rest-elevator-pitch
2 rest-elevator-pitch2 rest-elevator-pitch
2 rest-elevator-pitch
zafargilani
 
Creating Web Services with Zend Framework - Matthew Turland
Creating Web Services with Zend Framework - Matthew TurlandCreating Web Services with Zend Framework - Matthew Turland
Creating Web Services with Zend Framework - Matthew Turland
Matthew Turland
 
Understanding SOAP and REST basics and differences
Understanding SOAP and REST basics and differencesUnderstanding SOAP and REST basics and differences
Understanding SOAP and REST basics and differences
Bhavendra Chavan
 
TFI2014 Session I - State of SDN - Karen “Shelly” Cadora
TFI2014 Session I - State of SDN - Karen “Shelly” CadoraTFI2014 Session I - State of SDN - Karen “Shelly” Cadora
TFI2014 Session I - State of SDN - Karen “Shelly” Cadora
Colorado Internet Society (CO ISOC)
 
REST API
REST APIREST API
REST API
Kanushka Gayan
 
Rest vs soap
Rest vs soapRest vs soap
Rest vs soap
Naseers
 
REST vs SOAP
REST vs SOAPREST vs SOAP
REST vs SOAP
Sergio M
 
1 web technologies
1 web technologies1 web technologies
1 web technologies
Jalpesh Vasa
 
Embedded Web Services Report
Embedded Web Services ReportEmbedded Web Services Report
Embedded Web Services Report
Bernie Chiu
 

Similar to Rest vs soap (20)

EEDC SOAP vs REST
EEDC SOAP vs RESTEEDC SOAP vs REST
EEDC SOAP vs REST
 
Rest over soap
Rest over soapRest over soap
Rest over soap
 
Eedc homework2-jsc
Eedc homework2-jscEedc homework2-jsc
Eedc homework2-jsc
 
Rest over soap
Rest over soapRest over soap
Rest over soap
 
200211 Fielding Apachecon
200211 Fielding Apachecon200211 Fielding Apachecon
200211 Fielding Apachecon
 
53 hui homework2
53 hui homework253 hui homework2
53 hui homework2
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
 
RESTful Web Services @AnkaraPHP meetup
RESTful Web Services @AnkaraPHP meetupRESTful Web Services @AnkaraPHP meetup
RESTful Web Services @AnkaraPHP meetup
 
REST vs SOAP
REST vs SOAPREST vs SOAP
REST vs SOAP
 
Api 101
Api 101Api 101
Api 101
 
RESTful applications: The why and how by Maikel Mardjan
RESTful applications: The why and how by Maikel MardjanRESTful applications: The why and how by Maikel Mardjan
RESTful applications: The why and how by Maikel Mardjan
 
2 rest-elevator-pitch
2 rest-elevator-pitch2 rest-elevator-pitch
2 rest-elevator-pitch
 
Creating Web Services with Zend Framework - Matthew Turland
Creating Web Services with Zend Framework - Matthew TurlandCreating Web Services with Zend Framework - Matthew Turland
Creating Web Services with Zend Framework - Matthew Turland
 
Understanding SOAP and REST basics and differences
Understanding SOAP and REST basics and differencesUnderstanding SOAP and REST basics and differences
Understanding SOAP and REST basics and differences
 
TFI2014 Session I - State of SDN - Karen “Shelly” Cadora
TFI2014 Session I - State of SDN - Karen “Shelly” CadoraTFI2014 Session I - State of SDN - Karen “Shelly” Cadora
TFI2014 Session I - State of SDN - Karen “Shelly” Cadora
 
REST API
REST APIREST API
REST API
 
Rest vs soap
Rest vs soapRest vs soap
Rest vs soap
 
REST vs SOAP
REST vs SOAPREST vs SOAP
REST vs SOAP
 
1 web technologies
1 web technologies1 web technologies
1 web technologies
 
Embedded Web Services Report
Embedded Web Services ReportEmbedded Web Services Report
Embedded Web Services Report
 

More from Ioanna Tsalouchidou

Scalable Dynamic Graph Summarization
Scalable Dynamic Graph SummarizationScalable Dynamic Graph Summarization
Scalable Dynamic Graph Summarization
Ioanna Tsalouchidou
 
A Distributed Self-management Service
A Distributed Self-management ServiceA Distributed Self-management Service
A Distributed Self-management Service
Ioanna Tsalouchidou
 
Observation, Experiment, Conclusion: the Three Princes of Serendip_essay_Phil...
Observation, Experiment, Conclusion: the Three Princes of Serendip_essay_Phil...Observation, Experiment, Conclusion: the Three Princes of Serendip_essay_Phil...
Observation, Experiment, Conclusion: the Three Princes of Serendip_essay_Phil...
Ioanna Tsalouchidou
 
The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems
Ioanna Tsalouchidou
 
7.howcompanieslearnyoursecrets 120318193259-phpapp01
7.howcompanieslearnyoursecrets 120318193259-phpapp017.howcompanieslearnyoursecrets 120318193259-phpapp01
7.howcompanieslearnyoursecrets 120318193259-phpapp01
Ioanna Tsalouchidou
 
Simulation vs experimental-testbeds_ioanna_tsalouchidou
Simulation vs experimental-testbeds_ioanna_tsalouchidouSimulation vs experimental-testbeds_ioanna_tsalouchidou
Simulation vs experimental-testbeds_ioanna_tsalouchidou
Ioanna Tsalouchidou
 
Intelligent placement of_datacenters_for_internet_services_ioanna_tsalouchidou
Intelligent placement of_datacenters_for_internet_services_ioanna_tsalouchidouIntelligent placement of_datacenters_for_internet_services_ioanna_tsalouchidou
Intelligent placement of_datacenters_for_internet_services_ioanna_tsalouchidou
Ioanna Tsalouchidou
 
Cap in depth
Cap in depthCap in depth
Cap in depth
Ioanna Tsalouchidou
 

More from Ioanna Tsalouchidou (8)

Scalable Dynamic Graph Summarization
Scalable Dynamic Graph SummarizationScalable Dynamic Graph Summarization
Scalable Dynamic Graph Summarization
 
A Distributed Self-management Service
A Distributed Self-management ServiceA Distributed Self-management Service
A Distributed Self-management Service
 
Observation, Experiment, Conclusion: the Three Princes of Serendip_essay_Phil...
Observation, Experiment, Conclusion: the Three Princes of Serendip_essay_Phil...Observation, Experiment, Conclusion: the Three Princes of Serendip_essay_Phil...
Observation, Experiment, Conclusion: the Three Princes of Serendip_essay_Phil...
 
The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems
 
7.howcompanieslearnyoursecrets 120318193259-phpapp01
7.howcompanieslearnyoursecrets 120318193259-phpapp017.howcompanieslearnyoursecrets 120318193259-phpapp01
7.howcompanieslearnyoursecrets 120318193259-phpapp01
 
Simulation vs experimental-testbeds_ioanna_tsalouchidou
Simulation vs experimental-testbeds_ioanna_tsalouchidouSimulation vs experimental-testbeds_ioanna_tsalouchidou
Simulation vs experimental-testbeds_ioanna_tsalouchidou
 
Intelligent placement of_datacenters_for_internet_services_ioanna_tsalouchidou
Intelligent placement of_datacenters_for_internet_services_ioanna_tsalouchidouIntelligent placement of_datacenters_for_internet_services_ioanna_tsalouchidou
Intelligent placement of_datacenters_for_internet_services_ioanna_tsalouchidou
 
Cap in depth
Cap in depthCap in depth
Cap in depth
 

Recently uploaded

Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdfAI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
Techgropse Pvt.Ltd.
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 

Recently uploaded (20)

Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdfAI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 

Rest vs soap

  • 1. EEDC Execution REST Vs SOAP, Why Use REST Environments for Architecture for Web Distributed Services? Computing European Master in Distributed Computing, EMDC Homework number: 2 Personal number: EEDC-71 Ioanna Tsalouchidou – ioannatsalouchidou@gmail.com 1
  • 2. Web Services machine-to-machine communication  SOAP - based  HTTP - based 2
  • 3. What is SOAP? Simple Object Access Protocol: Protocol specification for exchanging structured information in the implementation of Web Services  No specific encoding for the message body  Verbose XML format → considerably slower  Response caching difficult, POST-requests, complex XML 3
  • 4. What is REST REpresentation State Transfer: software architecture for distributed hypermedia systems as the World Wide Web  For REST everything is resources  Simple point-to-point communication over HTTP using XML 4
  • 5. What is good about it ? Advantages:  Lightweight – not a lot of extra XML markup  Human Readable Results  Easy to build – no toolkits required  Scalability of components interactions  Generality of interfaces  Independent deployment of components 5
  • 6. Key part 1 Any HTTP client talks with any HTTP server  No further configuration needed  No need to know the method names 6
  • 7. Key part 2 Use of only four methods which are already supported by HTTP  GET  POST  PUT  DELETE 7
  • 9. Which one is more lightweight ? REST Vs SOAP 9