What is the difference between SOAP and REST?

Posted by Editorial Staff | Updated on

In this example, we are sharing the difference between SOAP and REST using compassion table. The difference between SOAP and REST are listed below table.

It is a protocol.It is an architectural style.
It stands for Simple Object Access Protocol.It can use soap because it uses any other protocols.
It uses services interfaces to expose the business logic.It uses URI to expose business logic.
It permits XML data format only.It permits different data format such as HTML, XML, JSON etc.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers