Difference between SOAP and REST
SOAP ( Simple Object Access Protocol )
- SOAP can run on TCP/UDP/SMTP/HTTP.
- SOAP read and write request response messages in XML format.
- SOAP is more secure as it has its own security and well defined standards.
- SOAP uses SOAP-UI as client tools for testing.
REST (Representational State Transfer)
- REST uses underlying HTTP protocols.
- REST can read and write request response messages in JSON/XML/Plain HTML.
- REST is stateless.
- REST services are cache able.
- REST has light weight client tools or plugins that can easily be integrated inside browser.
Comments
Post a Comment