SOAP is a simple XML-based protocol that enables applications to exchange information over HTTP.

Or more simply: SOAP is a protocol for accessing web services.

SOAP Body element syntax

The required SOAP Body element can contain the actual SOAP message intended for delivery to the message's final endpoint.

Direct child elements of the SOAP Body element can be namespace qualified.

SOAP Body element example

<?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:Body>
  <m:GetPrice xmlns:m="http://www.w3schools.com/prices">
    <m:Item>Apples</m:Item>
  </m:GetPrice>
</soap:Body>
</soap:Envelope>