Header Ads

SOAP VS REST

Difference between REST and SOAP

REST - Representational State Transfer

Not strict requirements
Light Weight
Faster
It is an architecture
REST can return plain text, JSON, HTML, XML etc
for Caching
for stateless CRUD operations


SOAP - Simple Object Access Protocol
Strict security requirements
Reliable messaging
Different Transports: SMTP,FTP, MSMQ
Async, ws addressing, WSDL, UDDI
Large payloads and heavy
expensive
Slow
It is a protocol
SOAP returns XML based data

No comments:


Powered by Blogger.