SlideShare a Scribd company logo
Apex Wrapper Class
By:
Gaurav Singh
Soap Vs Rest
By: Gaurav Singh
SOAP VS REST
SOAP REST
• SOAP stands for Simple Object
Access Protocol
• SOAP is a protocol
• In SOAP, the WSDL file
provides the client with the
necessary information which
can be used to understand
what services the web service
can offer.
• SOAP requires more
bandwidth for its usage
• REST stands for
Representational State
Transfer
• REST is an Architectural style
• REST use Uniform Service
locators to access to the
components on the hardware
device
• REST does not need much
bandwidth when requests are
sent to the server
Conti...
SOAP REST
• SOAP can only work with XML
format
• SOAP can't use
REST because it is a protocol
• REST permits different data
format such as Plain text,
HTML, XML, JSON, etc
• REST can use SOAP web
services because it is a concept
and can use any protocol like
HTTP, SOAP
Which one one should go for
• Limited resources and bandwidth
• Statelessness : If there is no need to maintain a state of
information from one request to another then REST should be used. If you
need a proper information flow wherein some information from one request
needs to flow into another then SOAP is more suited for that purpose
Conti..
• Caching : If there is a need to cache a lot of requests then REST is
the perfect solution. At times, clients could request for the same
resource multiple times. This can increase the number of requests
which are sent to the server. By implementing a cache, the most
frequent queries results can be stored in an intermediate location. So
whenever the client requests for a resource, it will first check the cache.
If the resources exist then, it will not proceed to the server. So caching
can help in minimizing the amount of trips which are made to the web
server
Conti..
• Coding REST Services and subsequent
implementation is far easier than SOAP. So if a
quick win solution is required for web services,
then REST is the way to go
SOAP
• Asynchronous processing and subsequent
invocation A Formal means of
communication
• Stateful operations
• Lack of Security
• Lack of state
Thanks

More Related Content

PPTX
Jakarta JS April 2014
PPT
Reverse proxy
PPTX
How proxy works
PPTX
Harvesting the Power of Samza in LinkedIn's Feed
PPT
Web Services and OGSA
PPTX
REST-Api Design & Develop
PPTX
Air traffic controller - Streams Processing meetup
PPTX
section.io - Expanding from AWS to Azure
Jakarta JS April 2014
Reverse proxy
How proxy works
Harvesting the Power of Samza in LinkedIn's Feed
Web Services and OGSA
REST-Api Design & Develop
Air traffic controller - Streams Processing meetup
section.io - Expanding from AWS to Azure

What's hot (11)

PPTX
An Overview of Web Services: SOAP and REST
PPTX
introduction about REST API
PPT
Optimiszing proxy
PPT
Top schools in ghaziabad
PDF
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
PPTX
Introducing messaging in your design should not hurt so much
PDF
Consul scale
PPT
Optimizing proxy
PPT
Top schools in faridabad
PPTX
Serverless by examples and case studies
PDF
Moving RDF Stream Processing to the Client
An Overview of Web Services: SOAP and REST
introduction about REST API
Optimiszing proxy
Top schools in ghaziabad
WSO2Con Asia 2014 - Essential Elements of an Enterprise PaaS
Introducing messaging in your design should not hurt so much
Consul scale
Optimizing proxy
Top schools in faridabad
Serverless by examples and case studies
Moving RDF Stream Processing to the Client
Ad

Similar to Sfdc soap vs rest (20)

DOCX
SOAP vs REST_ Which Web Service Protocol is Right for Your Needs
DOCX
SOAP vs REST_ Which Web Service Protocol is Right for Your Needs.docx
PDF
Application.pdf
PDF
PPTX
REST & SOAP.pptx
PPT
53 hui homework2
PDF
SOAP vs REST
PDF
Restful web services by Sreeni Inturi
PPTX
Web Programming
PPT
Soap and Rest
PDF
SOAPvs.REST
PPTX
Web services soap and rest by mandakini for TechGig
PPT
Eedc homework2-jsc
PDF
wsadddddddddddddddddeb-servsdddddddddddaaaaaaaice.pdf
PDF
A Study Of Web Services And Its Implications
PPTX
What is an API?
PPTX
Web services
PDF
Best practices and advantages of REST APIs
DOCX
Rest vs soap
SOAP vs REST_ Which Web Service Protocol is Right for Your Needs
SOAP vs REST_ Which Web Service Protocol is Right for Your Needs.docx
Application.pdf
REST & SOAP.pptx
53 hui homework2
SOAP vs REST
Restful web services by Sreeni Inturi
Web Programming
Soap and Rest
SOAPvs.REST
Web services soap and rest by mandakini for TechGig
Eedc homework2-jsc
wsadddddddddddddddddeb-servsdddddddddddaaaaaaaice.pdf
A Study Of Web Services And Its Implications
What is an API?
Web services
Best practices and advantages of REST APIs
Rest vs soap
Ad

Recently uploaded (20)

PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
System and Network Administraation Chapter 3
PDF
Cost to Outsource Software Development in 2025
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
System and Network Administration Chapter 2
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
top salesforce developer skills in 2025.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
L1 - Introduction to python Backend.pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
medical staffing services at VALiNTRY
PPTX
Reimagine Home Health with the Power of Agentic AI​
Odoo POS Development Services by CandidRoot Solutions
Why Generative AI is the Future of Content, Code & Creativity?
System and Network Administraation Chapter 3
Cost to Outsource Software Development in 2025
Odoo Companies in India – Driving Business Transformation.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
System and Network Administration Chapter 2
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Wondershare Filmora 15 Crack With Activation Key [2025
wealthsignaloriginal-com-DS-text-... (1).pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
top salesforce developer skills in 2025.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Digital Systems & Binary Numbers (comprehensive )
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
L1 - Introduction to python Backend.pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
medical staffing services at VALiNTRY
Reimagine Home Health with the Power of Agentic AI​

Sfdc soap vs rest

  • 1. Apex Wrapper Class By: Gaurav Singh Soap Vs Rest By: Gaurav Singh
  • 2. SOAP VS REST SOAP REST • SOAP stands for Simple Object Access Protocol • SOAP is a protocol • In SOAP, the WSDL file provides the client with the necessary information which can be used to understand what services the web service can offer. • SOAP requires more bandwidth for its usage • REST stands for Representational State Transfer • REST is an Architectural style • REST use Uniform Service locators to access to the components on the hardware device • REST does not need much bandwidth when requests are sent to the server
  • 3. Conti... SOAP REST • SOAP can only work with XML format • SOAP can't use REST because it is a protocol • REST permits different data format such as Plain text, HTML, XML, JSON, etc • REST can use SOAP web services because it is a concept and can use any protocol like HTTP, SOAP
  • 4. Which one one should go for • Limited resources and bandwidth • Statelessness : If there is no need to maintain a state of information from one request to another then REST should be used. If you need a proper information flow wherein some information from one request needs to flow into another then SOAP is more suited for that purpose
  • 5. Conti.. • Caching : If there is a need to cache a lot of requests then REST is the perfect solution. At times, clients could request for the same resource multiple times. This can increase the number of requests which are sent to the server. By implementing a cache, the most frequent queries results can be stored in an intermediate location. So whenever the client requests for a resource, it will first check the cache. If the resources exist then, it will not proceed to the server. So caching can help in minimizing the amount of trips which are made to the web server
  • 6. Conti.. • Coding REST Services and subsequent implementation is far easier than SOAP. So if a quick win solution is required for web services, then REST is the way to go
  • 7. SOAP • Asynchronous processing and subsequent invocation A Formal means of communication • Stateful operations • Lack of Security • Lack of state