Last post Apr 25, 2013 11:12 PM by Haixia Xie - MSFT
Apr 25, 2013 04:33 AM|ankit.developer|LINK
Hi can anyone tell me, what is the difference beetwen saop and rest web service. By giving some example ?
Apr 25, 2013 04:42 AM|S.Maire|LINK
Take a look at this :
Apr 25, 2013 05:17 PM|kushalrdalal|LINK
Check this links -
Apr 25, 2013 11:12 PM|Haixia Xie - MSFT|LINK
You can check this
provided by kushalrdalal to get the difference between soap and rest.
In summary, SOAP is a XML based messaging protocol and REST is not a protocol but an architectural style;
SOAP has a standard specification but there is none for REST, so that we can consume a soap service with "Add Service Reference" option, but it not work for restful service, you can WebChannelFactory<T> to create a client to talk to the service;
SOAP uses interfaces and named operations to expose business logic. REST uses (generally) URI and methods like (GET, PUT, POST, DELETE) to expose resources. Below are references which include with an example.
#A Simple Example of WCF Service(SOAP )
#Create RESTful WCF Service API: Step By Step Guide (REST)