com.HTTPResponse.getXmlResponse

Returns an entire DOM document as HTTP response from the server.

Syntax

getXmlResponse()
  RETURNING data xml.DomDocument

Usage

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.