SlideShare a Scribd company logo
1 of 5
Why Use of

      SOAP                                                     REST




                              for Web Services
                                     ?
Maria Stylianou – marsty5@gmail.com
34330 EEDC – Execution Environments in Distributed Computing
SOAP (Protocol)                                  REST (Architecture)
    Rules, rules & rules                                       Based on HTTP

                                                           Looks like WWW
       NOT simple at all
                                                              Easy
            XML format                                       Simple
                                                            Stateless
                                                          Lightweight
    Too much overhead                               Lots of Representations

34330 EEDC – Execution Environments in Distributed Computing
SOAP (Protocol)                                  REST (Architecture)
 Change on the service                                         FLEXIBILITY


   Clients stop working                                 Clients keep working

    POST to query/change                                   GET to query data
            data

            Dangerous                                          Safe
         Difficult to cache                             Cacheable & Scalable
34330 EEDC – Execution Environments in Distributed Computing
SOAP



                                                               REST!

34330 EEDC – Execution Environments in Distributed Computing
SOAP



                                                               REST!
                                                               REST!
                                                               BEST!
34330 EEDC – Execution Environments in Distributed Computing

More Related Content

Similar to EEDC - Why use of REST for Web Services

Eedc homework2-jsc
Eedc homework2-jscEedc homework2-jsc
Eedc homework2-jsc
jsubirat
 
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
Michael Noel
 
SharePoint 2010 High Availability - TechEd Brasil 2010
SharePoint 2010 High Availability - TechEd Brasil 2010SharePoint 2010 High Availability - TechEd Brasil 2010
SharePoint 2010 High Availability - TechEd Brasil 2010
Michael Noel
 
Ebs soa con8716_pdf_8716_0001
Ebs soa con8716_pdf_8716_0001Ebs soa con8716_pdf_8716_0001
Ebs soa con8716_pdf_8716_0001
jucaab
 
Rest vs soap
Rest vs soapRest vs soap
Rest vs soap
Naseers
 
10 Steps Optimize Share Point Performance
10 Steps Optimize Share Point Performance10 Steps Optimize Share Point Performance
10 Steps Optimize Share Point Performance
Christopher Bunn
 

Similar to EEDC - Why use of REST for Web Services (20)

EEDC SOAP vs REST
EEDC SOAP vs RESTEEDC SOAP vs REST
EEDC SOAP vs REST
 
Eedc homework2-jsc
Eedc homework2-jscEedc homework2-jsc
Eedc homework2-jsc
 
Hw2
Hw2Hw2
Hw2
 
Hw2
Hw2Hw2
Hw2
 
Hw2
Hw2Hw2
Hw2
 
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
 
SharePoint 2010 High Availability - TechEd Brasil 2010
SharePoint 2010 High Availability - TechEd Brasil 2010SharePoint 2010 High Availability - TechEd Brasil 2010
SharePoint 2010 High Availability - TechEd Brasil 2010
 
Obiee 11 g
Obiee 11 gObiee 11 g
Obiee 11 g
 
Brocade-The Ethernet Fabrics-wp
Brocade-The Ethernet Fabrics-wpBrocade-The Ethernet Fabrics-wp
Brocade-The Ethernet Fabrics-wp
 
PLNOG 6: Maciej Konstantynowicz - Implementing Seamless MPLS
PLNOG 6: Maciej Konstantynowicz - Implementing Seamless MPLS PLNOG 6: Maciej Konstantynowicz - Implementing Seamless MPLS
PLNOG 6: Maciej Konstantynowicz - Implementing Seamless MPLS
 
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
 
CCNA Icnd110 s02l09
CCNA Icnd110 s02l09CCNA Icnd110 s02l09
CCNA Icnd110 s02l09
 
Exchange 2013 ABC's: Architecture, Best Practices and Client Access
Exchange 2013 ABC's: Architecture, Best Practices and Client AccessExchange 2013 ABC's: Architecture, Best Practices and Client Access
Exchange 2013 ABC's: Architecture, Best Practices and Client Access
 
Ebs soa con8716_pdf_8716_0001
Ebs soa con8716_pdf_8716_0001Ebs soa con8716_pdf_8716_0001
Ebs soa con8716_pdf_8716_0001
 
Rest vs soap
Rest vs soapRest vs soap
Rest vs soap
 
SharePoint 2010 High Availability - SPC2C
SharePoint 2010 High Availability - SPC2CSharePoint 2010 High Availability - SPC2C
SharePoint 2010 High Availability - SPC2C
 
Virtuoso Universal Server Overview
Virtuoso Universal Server OverviewVirtuoso Universal Server Overview
Virtuoso Universal Server Overview
 
IMPLEMENTATION OF NETWORK DESIGN FOR UNIVERSITIES WITH IOT
IMPLEMENTATION OF NETWORK DESIGN FOR UNIVERSITIES WITH IOTIMPLEMENTATION OF NETWORK DESIGN FOR UNIVERSITIES WITH IOT
IMPLEMENTATION OF NETWORK DESIGN FOR UNIVERSITIES WITH IOT
 
10 Steps Optimize Share Point Performance
10 Steps Optimize Share Point Performance10 Steps Optimize Share Point Performance
10 Steps Optimize Share Point Performance
 
Exchange Server 2013 Architecture Deep Dive, Part 1
Exchange Server 2013 Architecture Deep Dive, Part 1Exchange Server 2013 Architecture Deep Dive, Part 1
Exchange Server 2013 Architecture Deep Dive, Part 1
 

More from Maria Stylianou

More from Maria Stylianou (8)

SPARJA: a Distributed Social Graph Partitioning and Replication Middleware
SPARJA: a Distributed Social Graph Partitioning and Replication MiddlewareSPARJA: a Distributed Social Graph Partitioning and Replication Middleware
SPARJA: a Distributed Social Graph Partitioning and Replication Middleware
 
Erlang in 10 minutes
Erlang in 10 minutesErlang in 10 minutes
Erlang in 10 minutes
 
Pregel - Paper Review
Pregel - Paper ReviewPregel - Paper Review
Pregel - Paper Review
 
Google's Dremel
Google's DremelGoogle's Dremel
Google's Dremel
 
A Survey on Large-Scale Decentralized Storage Systems to be used by Volunteer...
A Survey on Large-Scale Decentralized Storage Systems to be used by Volunteer...A Survey on Large-Scale Decentralized Storage Systems to be used by Volunteer...
A Survey on Large-Scale Decentralized Storage Systems to be used by Volunteer...
 
Performance Analysis of multithreaded applications based on Hardware Simulati...
Performance Analysis of multithreaded applications based on Hardware Simulati...Performance Analysis of multithreaded applications based on Hardware Simulati...
Performance Analysis of multithreaded applications based on Hardware Simulati...
 
Instrumenting the MG applicaiton of NAS Parallel Benchmark
Instrumenting the MG applicaiton of NAS Parallel BenchmarkInstrumenting the MG applicaiton of NAS Parallel Benchmark
Instrumenting the MG applicaiton of NAS Parallel Benchmark
 
How Companies Learn Your Secrets
How Companies Learn Your SecretsHow Companies Learn Your Secrets
How Companies Learn Your Secrets
 

Recently uploaded

Recently uploaded (20)

PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptx
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 

EEDC - Why use of REST for Web Services

  • 1. Why Use of SOAP REST for Web Services ? Maria Stylianou – marsty5@gmail.com 34330 EEDC – Execution Environments in Distributed Computing
  • 2. SOAP (Protocol) REST (Architecture) Rules, rules & rules Based on HTTP Looks like WWW NOT simple at all Easy XML format Simple Stateless Lightweight Too much overhead Lots of Representations 34330 EEDC – Execution Environments in Distributed Computing
  • 3. SOAP (Protocol) REST (Architecture) Change on the service FLEXIBILITY Clients stop working Clients keep working POST to query/change GET to query data data Dangerous Safe Difficult to cache Cacheable & Scalable 34330 EEDC – Execution Environments in Distributed Computing
  • 4. SOAP REST! 34330 EEDC – Execution Environments in Distributed Computing
  • 5. SOAP REST! REST! BEST! 34330 EEDC – Execution Environments in Distributed Computing

Editor's Notes

  1. So, let’s say we have a web-service with the server responsible for is and some clients.SOAP: Simple Object Access ProtocolREST:Representational State Transfer1 SOAP (Simple Object Access Protocol) is a protocol, which defines rules that have to be valid for the messages to be sent between the server and the clients. This makes the Simple Object Access Protocol anything BUT simple!2 Like this wasn’t enough, these messages have to be in XML format and always wrapped in an envelop => That causes too much overhead.On the other hand, REST (Representational State Transfer) is an architecture based on HTTP. That’s why it looks like World Wide Web!That’s why it’s (a) EASY to build, (b) SIMPLE to understandand to use. It is also (c) LIGHTWEIGHT since it sends only HTTP requests using HTTP methods.Lastly (d) It can represent lots of different objects: XML, jpg, gif
  2. What’s more:SOAP is known for its inflexibility. One simple change to the service may lead to a total paralysis of the workers. Instead, the REAST is flexible and clients can “realize” the difference and keep working.Furthermore, SOAP uses POST to communicate with a service; to query or modify data. This may be dangerous as it’s more difficult to find if something goes wrong in an XML-formatted message. It is also difficult to cache a response for an XML message.REST, clients can send GET to request for some data. GET is not used for modification and therefore it offers safety! Additionally, it becomes scalable since it’s very easy to cache responses for GET requests!
  3. So,KEEP IT SIMPLEKEEP IT REST!
  4. So,KEEP IT SIMPLEKEEP IT REST!