top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to decide between XML/SOAP and HTTP/REST web services?

+2 votes
373 views
How to decide between XML/SOAP and HTTP/REST web services?
posted Feb 17, 2015 by Merry

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

REST is almost always going to be faster. The main advantage of SOAP is that it provides a mechanism for services to describe themselves to clients, and to advertise their existence.

REST is much more lightweight and can be implemented using almost any tool, leading to lower bandwidth and shorter learning curve. However, the clients have to know what to send and what to expect.

In general, When you're publishing an API to the outside world that is either complex or likely to change, SOAP will be more useful. Other than that, REST is usually the better option.

answer Feb 17, 2015 by Vrije Mani Upadhyay
...