#4 [xhtml]

Reasons Why to Use SOAP

  1. You want to send "metadata" along with messages.

  2. You need to send routing information.

  3. You want to use the fault mechanisms of SOAP in error responses.

  4. You need to send multiple documents and don't want to use multi-part POST mechanism.

  5. You're doing RPC on the web and so you don't really have a document.

  6. Someone else says you "must" use SOAP.