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-7
Methods
Remarks
String. Read-only.
Syntax
oDOMDocument = oHTTP.responseXML
Methods 
open
Initializes a socket connection to the HTTP server. You need to set the correct host 
and port properties prior to calling this method.
Syntax
oHTTP.open()
Parameters
None
Return Value
None 
ATPException
The possible error codes are:
•
ATP_HTTP_INVALID_URL(2): The host name is not initialized properly.
•
ATP_HTTP_CREATE_FAILED(101): Internal socket error. Cannot create a 
new socket.
•
ATP_HTTP_CONNECT_FAILED(102): Server is not available or the host 
name or address is invalid.
You can check the detail error code from the errorDetail property defined in the 
outstanding ATPException object.
close
Closes the socket connection and destroys the response header fields and entity 
body, if they exist.
Syntax
oHTTP.close()
Parameters
None
Return Value
None 










