Multiple choice technology web technology

Which of the following statements are true about the SOAP syntax?

  1. 1) A SOAP message MUST NOT use the SOAP Encoding namespace

  2. 1) A SOAP message MUST use the SOAP Envelope namespace

  3. 2) A SOAP message MUST contain XML Processing Instructions

  4. 2) A SOAP message MUST NOT contain a DTD reference

Reveal answer Fill a bubble to check yourself
B,D Correct answer
Explanation

SOAP messages MUST use the SOAP Envelope namespace (xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/') as it defines the message structure. They MUST NOT contain DTD references because SOAP is designed to work with XML parsers that may not validate against DTDs. SOAP Encoding namespace is optional (used with rpc/encoded style).