SOAPDoc Object Considerations

A SOAP Message is an ordinary XML document that consists of the following parts:

  • A mandatory SOAP envelope

  • An optional SOAP header

  • A mandatory SOAP body

The SOAPDoc class is a separate class in PeopleCode that works similarly to the XmlDoc and XmlNode classes. Many of the same methods and properties that work with an XmlDoc or XmlNode object also work with a SOAPDoc object. However, there are also methods and properties that don't apply to a SOAPDoc object.

The following XmlDoc and XmlNode methods do not apply to a SOAPDoc object:

  • AddCDataSection

  • AddProcessInstruction

  • CopyToPSFTMessage

  • CreateDocumentType

  • InsertCDataSection

  • InsertProcessInstruction

  • LoadIBContent