Quick Guide
SOAP vs REST
Ankit Pangasa Swipe
1
Definition
Simple Object Access Protocol
Representational State Transfer
Ankit Pangasa Swipe
2
What are they?
SOAP is a messaging protocol specification for exchanging
structured information in the implementation of web
services in computer networks.
REST is a software architectural style that describes a uniform
interface between physically separate components, often across
the Internet in a client-server architecture.
Ankit Pangasa Swipe
3
Data Format
SOAP: XML format is used for data
transportation
REST: Does not impose data format. Most
popular format is JSON
Ankit Pangasa Swipe
4
Methods
SOAP: Works with WSDL
REST: works with GET, POST, PUT, DELETE
Ankit Pangasa Swipe
5
Protocol
SOAP: Works over HTTP, HTTPS, SMTP,
XMPP
REST: Works over HTTP and HTTPS
Ankit Pangasa Swipe
6
Motive
SOAP: Designed with large enterprise
applications in mind
REST: Designed with mobile devices in mind
Ankit Pangasa Swipe
7
Security
SOAP: SOAP has SSL and WS-security
REST: REST has SSL and HTTPS for security.
Ankit Pangasa Swipe
8
Structurdness
SOAP: Highly structured
REST: Less structured
Ankit Pangasa Swipe
9
Cross-Support
SOAP: It cannot make use of REST
REST: It can make use of SOAP as the
underlying protocol for web services
Ankit Pangasa Swipe
ick
Qu ary 10
Summ
Ankit Pangasa Swipe
Did you enjoy
the content?
Ankit Pangasa