Soap= lots of configuration + support only XML+ no cache Rest= get and post features of http + json or xml format + support cache
1-REST permits many different data formats whereas SOAP only permits XML.
2-JSON usually is a better fit for data and parses much faster. REST allows better support for browser clients due to its support for JSON.
3-REST has better performance and scalability.
4-REST reads can be cached, SOAP based reads cannot be cached.
5-SOAP is a protocol its Simple Object Access Protocol and rest is an Architecture .REST stands for Representational State Transfer.
No comments:
Post a Comment