xml.Signature.getDocument

Returns a new DomDocument object representing the signature in XML.

Syntax

getDocument()
  RETURNS xml.DomDocument

Usage

Returns a xml.DomDocument object.

If the signature type is enveloped, it's up to the user to add it at the right place in the XML document it is intended to sign.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).