What Is REST & SOAP
What Is REST & SOAP
What Is REST & SOAP
SOAP
Example:
The RESPONSE from the service:
SOAP
From this example we can see the message was sent
over HTTP. SOAP is actually agnostic of the underlying
transport protocol and can be sent over almost any
protocol such as HTTP, SMTP, TCP, or JMS.
SOAP
WSDL talks about client features. For example: add, delete,
subtract, etc.
SOAP was designed before the WSDL, and therefore the WSDL
is optional. Although it doesn’t have a WSDL.
REST stands for Representational State Transfer. It
is a stateless communications protocol, most
commonly, HTTP protocol.
REST REST structures in XML, YAML, or REST follows the
object-oriented programming paradigm of noun-
verb.
REST
(CRUD)
A REST service also has a schema in what is called a WADL –
Web Application Description Language.
The WADL for the above call would look like this:
REST
(CRUD)
REST vs SOAP
RESULTS