December 08, 2017

SOAP vs REST Web Services

No.SOAPREST
1)SOAP is a protocol.REST is an architectural style.
2)SOAP stands for Simple Object Access Protocol.REST stands for REpresentational State Transfer.
3)SOAP can't use REST because it is a protocol.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.REST uses URI to expose business logic.
5)JAX-WS is the Java API for SOAP web services.JAX-RS is the Java API for RESTful web services.
6)SOAP defines standards to be strictly followed.REST does not define too many standards like SOAP.
7)SOAP requires more bandwidth and resource than REST.REST requires less bandwidth and resource than SOAP.
8)SOAP defines its own security.RESTful web services inherit security measures from the underlying transport.
9)SOAP permits XML data format only.REST permits different data format such as Plain text, HTML, XML, JSON etc.
10)SOAP is less preferred than REST.REST more preferred than SOAP.


Reference: https://www.javatpoint.com/soap-vs-rest-web-services

No comments:

Post a Comment

I'm certainly not an expert, but I'll try my hardest to explain what I do know and research what I don't know.

My Favorite Site's List

#update below script more than 500 posts