Computer Science, asked by Rangeetik7an8nid, 1 year ago

difference between soap and rest

Answers

Answered by 20001mariyam
0
1. REST has no WSDL interface definition
2. REST is over HTTP, but SOAP can be over any transport protocols such HTTP, FTP, STMP, JMS etc.
 3. SOAP is using soap envelope, but REST is just XML.
Answered by PJPOOJA
0
Definitions:


REST

RESTs sweet spot is when you are exposing a public API over the internet to handle CRUD operations on data. REST is focused on accessing named resources through a single consistent interface.

SOAP

SOAP brings it’s own protocol and focuses on exposing pieces of application logic (not data) as services. SOAP exposes operations. SOAP is focused on accessing named operations, each implement some business logic through different interfaces.

Though SOAP is commonly referred to as “web services” this is a misnomer. SOAP has very little if anything to do with the Web. REST provides true “Web services” based on URIs and HTTP.
Similar questions