Pages

Thursday 6 February 2014

SAOP vs RESTful web services

SOAP vs RESTful Difference


SOAP
RESTful
Developer View
Object Oriented
Resource oriented
Standards Based
Yes
No
Security
SSL, WS-Security
SSL
Transactions
WS-Atomic transaction
No
Reliability
WS-Reliable Messaging
Application Specific
Performance
Good
Better
Caching
No
GET operation can be cached.
Message Size
Heavy , has SOAP and WS-* specific mark-up
Lightweight, no extra mark-up
Message  Communication Protocol
XML
XML, JSON, Other valid MIME type.
Message Encoding
Yes
No
Service Description
WSDL
No formal contract defined.
Human Intelligible Payload
No
Yes
Developer Tooling
Yes
Minimal or none
Orientation
Wraps business logic
Accesses resources/data
Abbreviation
Simple Object Access Protocol
Representational State Transfer
Simplicity
No
Yes
Transport Protocol Support
HTTP, SMTP, JMS
HTTP

No comments:

Post a Comment