Search This Blog

Tuesday, April 8, 2014

Deciding Whether to Use SOAP or REST

Lately, I have been working on Web Service and API projects. During initial working process, I always thought whether I should use SOAP or REST. After done some research and learned by mistakes, I concluded that in most cases, SOAP is a better choice. Why? Because SOAP can handle complex operations more than just CRUD. REST, of course, can be used for non-CRUD operations. However, the use of HTTP method verbs creates barriers in the implementation.

Some useful links regarding SOAP:
SOAP Tutorial
How to Determine the SOAP Version of a Message
The hidden impact of WS-Addressing on SOAP

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.