What is Basic difference between SOAP and REST

SOAP

- SOAP Stands for Simple Object Access Protocol.

- SOAP can only work with XML format.

- SOAP can't make use of REST since SOAP is a Protocol and REST is an architectural pattern.

- SOAP supports XML open standards, such as WSDL (Web Service Description Language),      
  SOAP(Simple Object Access Protocol) and UDDI(Universal Description Discovery and Integration)


REST

- REST Stands for Representational State Transfer.

- REST allowed different data format such as Plain Text, HTML, XML, JSON etc. But in this Most      preferred format for transferring data is JSON.

- REST can make use of SOAP as the underlying protocol for web services.

- REST Web Services using the HTTP methods GET, POST, PUT and DELETE.



Post a Comment

0 Comments