SOAP vs REST Web Services
=================================
1. SOAP is a Protocol. Whereas Rest is an architectural style.
2. SOAP stands for Simple Object Access Protocol. Whereas Rest stands for REpresentational State Transfer.
3. SOAP can't use REST because it is a protocol. Whereas REST can use SOAP web services because it is a concept
and can use any protocol like HTTP, SOAP.
4. SOAP uses services interfaces to expose the business logic. Whereas REST uses URI to expose business logic.
5. JAX-WS is the java API for SOAP web services. Whereas JAX-RS is the java API for RESTful web services.
6. SOAP defines standards to be strictly followed. Whereas REST doesn't define too much standards like SOAP.
7. SOAP requires more bandwidth and resource than REST. Whereas REST requires less bandwidth and resource than SOAP.
8. SOAP defines its own security. Whereas RESTful web services inherits security measures from the underlying transport.
9. SOAP permits XML data format only. Whereas REST permits different data format such as Plain text, HTML, XML, JSON etc.
10. SOAP is less perferred than REST. Whereas REST is more preferred than SOAP.
=============================================================================================================
=================================
1. SOAP is a Protocol. Whereas Rest is an architectural style.
2. SOAP stands for Simple Object Access Protocol. Whereas Rest stands for REpresentational State Transfer.
3. SOAP can't use REST because it is a protocol. Whereas REST can use SOAP web services because it is a concept
and can use any protocol like HTTP, SOAP.
4. SOAP uses services interfaces to expose the business logic. Whereas REST uses URI to expose business logic.
5. JAX-WS is the java API for SOAP web services. Whereas JAX-RS is the java API for RESTful web services.
6. SOAP defines standards to be strictly followed. Whereas REST doesn't define too much standards like SOAP.
7. SOAP requires more bandwidth and resource than REST. Whereas REST requires less bandwidth and resource than SOAP.
8. SOAP defines its own security. Whereas RESTful web services inherits security measures from the underlying transport.
9. SOAP permits XML data format only. Whereas REST permits different data format such as Plain text, HTML, XML, JSON etc.
10. SOAP is less perferred than REST. Whereas REST is more preferred than SOAP.
=============================================================================================================
Comments
Post a Comment