What is differences between RESTful web services and SOAP web services ?

Solution

SOAP REST
SOAP stands for Simple Object Access Protocol. REST stands for REpresentational State Transfer.
SOAP is a XML-based messaging protocol. REST is not a protocol but an architectural style.
SOAP has specifications for stateful implementation as well. REST follows stateless model.
SOAP uses interfaces and named operations to expose business logic. REST uses URI methods like GET, POST to expose resources.
SOAP permits only XML data format. REST is not bounded to XML so it can use Plain text, HTML, XML, JSON.
SOAP defines its own security mechanism like JAAS. REST uses security mechanism of underlying protocol.
Usage: Banking Application where security is concern. Usage:  Mobile Application, Android application as it is light weighted as compared to SOAP.

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media