affiliate_link

Sunday, May 18, 2014

SOAP vs REST Webservices

SOAP (Simple Object Access Protocol) and REST (Representational State Transfer) both are used as interfaces to the Web Services.

REST Advantages
1. Limited Bandwidth and Resources
2. Totally Stateless Operations
3. Caching Issues

SOAP Advantages
1. Reliable Messaging (SOAP 1.2 offers additional reliability and security)
2. Formal Contracts (Both provider and consumer have to agree on the exchange format)
3. Stateful Operations (Security, Transaction, Coordination)

No comments: