What is SOAP in Web Services?

Answered

What is SOAP in Web Services?

Ninja Asked on 18th September 2018 in Web Service.
Add Comment
1 Answer(s)
Best answer

SOAP or Simple Object Access Protocol is a protocol specification for exchanging structured information in the implementation of web services. The SOAP specification defines the envelope structure, encoding rules, and conventions for representing web service invocations and responses. These calls and responses are transmitted as SOAP messages (XML files) over HTTP.

A sample SOAP message structure is presented below:

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Header>
...
</soap:Header>
<soap:Body>
...
<soap:Fault>
...
</soap:Fault>
</soap:Body>
</soap:Envelope></p>
Ninja Answered on 18th September 2018.
Add Comment