What is SOAP and REST ?

SOAP stands for Simple Object Access Protocol.The biggest advantage of using soap is its own security,It is a technique to send an XML request over the internet by using HTTP protocol and get an XML response in return.
REST stands for Representational State Transfer. It is not a set of standards or rules rather is style of software architecture. The application which follow this architecture are termed as RESTful. REST concerns more on the resources. REST locates the resources by using URL and it depends on the type of transport protocol(HTTP-get,delete,put,post)for action to be performed on resources.