Protocols
Saved & recent

SOAP

Also called: SOAP messaging, SOAP 1.2

SOAP is an XML-based messaging framework with rules for message structure, processing and bindings to underlying protocols. In SOAP 1.2, an envelope contains a body and may contain a header for additional information. A defined Fault structure reports processing problems. Sending arbitrary XML over HTTP does not, by itself, make a message SOAP.

For example, a supplier sends a stock inquiry in a SOAP body over the SOAP HTTP binding, and receives a stock result or a fault. HTTP is a common binding, not SOAP’s entire definition. SOAP 1.1 and 1.2 have different namespaces and processing details, so clients must use the version and binding their service contract specifies.

Related
WSDL, Remote procedure call, HTTP
Further reading
SOAP 1.2 envelope optional Header Body · stock inquiry supplier HTTP binding Body · stock result Body · Fault alternative SOAP response bodies
SOAP 1.2 structures a message with an optional Header and required Body. This example uses an HTTP binding; a supplier returns a result Body or a Fault inside the Body. The envelope is distinct from its transport.

View in the full Protocols collection