Reputation: 33
Why Google uses a lot of SOAP in spite of the following advantages in REST.
SOAP
Thanks in advance.
Upvotes: 0
Views: 1966
Reputation: 2726
Steve Francia has a great comparison article on the subject, though I was under the impression (and Steve mentions) that Google had moved away from SOAP to REST. I would be curious if you are asking about a specific API? Then maybe I could formulate a more specific answer regarding that API.
However, overall, while REST is superior in almost every way, here is why you would use SOAP:
Web Service Security - SOAP supports WS-Security
in addition to SSL, which adds some enterprise security features and identity through intermediaries, not just point to point (SSL). It also provides a standard implementation of data integrity and data privacy.
Web Service Atomic Transaction - WS-AtomicTransaction
s are necessary if you need Transactions that are ACID compliant (though probably not why Google would have been using it).
Web Service Reliable Messaging - SOAP has standard messaging through WS-ReliableMessaging
, enabling built in successful/retry logic and provides end-to-end reliability even through SOAP intermediaries.
Upvotes: 1