The Signature class / xml.Signature methods |
Returns a new DomDocument object representing the signature in XML.
getDocument() RETURNING doc xml.DomDocument
Returns a xml.DomDocument object.
If the type of the signature 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).