The HTTPResponse class / com.HTTPResponse methods |
Returns an entire DOM document as HTTP response from the server.
getXmlResponse() RETURNING data xml.DomDocument
The getXmlResponse() method returns an HTTP response in a xml.DomDocument object.
The Content-Type header must be of the form */xml or */*+xml. For example: application/xhtml+xml.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.