The following are some important points about SOAP:
- Envelope in every SOAP message has the root position and that is mandatory for all SOAP messages.
- Exactly one body element should be present inside one SOAP envelope.
- The Header element is an optional element. However, if that is present, then there should be only one Header element.
- The Header must appear as the first child of the envelope, before the body element.
- The ENV namespace prefix and the Envelope element are used in order to build one SOAP envelope. (Refer to the following example.)
- The encodingStyle attribute defines the data types used in the document. This gives a generalization of the data types that appear in the message. If this attribute appears ...