YouTip LogoYouTip

Soap Syntax

# SOAP Syntax * * * ## SOAP Building Blocks A SOAP message is an ordinary XML document containing the following elements: * A required Envelope element that identifies the XML document as a SOAP message * An optional Header element that contains header information * A required Body element that contains call and response information * An optional Fault element that provides information about errors that occurred while processing the message All of the above elements are declared in the default namespace for the SOAP envelope: [http://www.w3.org/2001/12/soap-envelope](http://www.w3.org/2001/12/soap-envelope "soap-envelope.xml") and the default namespace for SOAP encoding and data types: [http://www.w3.org/2001/12/soap-encoding](http://www.w3.org/2001/12/soap-encoding "soap-encoding.xml") * * * ## Syntax Rules Here are some important syntax rules: * A SOAP message must be encoded using XML * A SOAP message must use the SOAP Envelope namespace * A SOAP message must use the SOAP Encoding namespace * A SOAP message must not contain DTD references * A SOAP message must not contain XML processing instructions * * * ## Basic Structure of a SOAP Message ... ... ...
← Soap EnvelopeSoap Intro β†’