iTP Active Transaction Pages (iTP ATP) Programmer's Guide
ATP Objects, Properties, and Methods
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide—522292-002
4-6
Properties
responseHeaderNames
This property contains an array object that stores HTTP response header field
names. It returns the array of HTTP response header field names after the HTTP
POST or GET operations that reflect the internal HTTP response header table, even
before any HTTP operations.
Remarks
Array. Read-only.
Syntax
oArray = oHTTP.responseHeaderNames
responseText
This property represents the response entity body as a UTF-8 string. An empty
string is returned if the response body is not available.
Remarks
String. Read-only.
Syntax
stringValue = oHTTP.responseText
responseBinary
This property represents the response entity body as a UTF-16 string. An empty
string is returned if the response body is not available.
Remarks
String. Read-only.
Syntax
stringValue = oHTTP.responseBinary
responseXML
This property represents the response entity body as parsed by the XML parser. This
property is available only when the XML for ATP add-on package is properly
installed on the system. It returns an “undefined” string if you try to access this
property without the XML for ATP package.
If the response entity body is not valid XML, this property returns the
DOMDocument object that was parsed so that you can access the error object,
XMLDOMParseError.
Note. You should check the length property of the return object before accessing the
specific elements in the array object.