What is the advantage of using SOAP?
REST allows a greater variety of data formats, whereas SOAP only allows XML.
● Coupled with JSON (which typically works better with data and
offers faster parsing), REST is generally considered easier to work with.
● Thanks to JSON, REST offers better support for browser clients.
● REST provides superior performance, particularly through
caching for information that’s not altered and not dynamic
● It is the protocol used most often for major services
such as Yahoo, Ebay, Amazon, and even Google.
● REST is generally faster and uses less bandwidth.
It’s also easier to integrate with existing websites with no need to
refactor site infrastructure. This enables developers to work
faster rather than spend time rewriting a site from scratch.
Instead, they can simply add additional functionality.