Interviews2 answers
What is Restful services? What is difference between SOAP and RestFul sevice?
2 Answers
Soap= lots of configuration + support only XML+ no cache
Rest= get and post features of http + json or xml format + support cache
Madhuri MishraPosted May 1, 2015, 7:04 AM EDT
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.
Hussain AhmedPosted Feb 25, 2015, 9:51 PM EST



