Source options behavior
The following table defines the behavior of the SOAP Adapter based upon combinations of available options.
- Commands
- Behavior
- No formatting commands
- Only the contents of the body of the message are returned (this is the default). No attributes are returned and namespace prefixes are removed.
- -RAW alone
- If a header is in the message's envelope, it is removed, but the envelope and body are returned intact.
- -HDR alone
- Equivalent to -RAW and -HDR, since an envelope
is required to ensure the well-formedness of the XML document.
For more information on XML document standards go to www.w3.org/TR/1998/REC-xml-19980210.
- -RAW and -HDR
- The SOAP request is returned in its entirety.
- -RETURN XPath
- Only the single scalar value is returned. See Return Option and XPath for more information.