iTP Active Transaction Pages (iTP ATP) Programmer's Guide

ATP Objects, Properties, and Methods
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
4-11
Methods
Parameters
user [optional] – Name of the user for authorization. If this parameter is null or
missing, the user name and password are reset to an empty string.
password [optional] – Password for authorization. If this parameter is null or
missing, the password is reset to an empty string.
Return Value
None.
setProxyInfo
Specifies the proxy information. The proxy information must be set prior to any
OPEN operation. The user and password are encrypted by the RFC 2617 basic
authorization algorithm before being sent to the server.
Syntax
oHTTP.setProxyInfo(host, port, user, password)
Parameters
host [optional] – Host name of the proxy server. Default value is an empty string.
If this parameter is null or missing, the proxy host, port, user, and password are reset
to their default values.
port [optional] – Port number of the proxy server. Default value is 80.
user [optional] – Name of the user for proxy authorization. Default value is an
empty string. If this parameter is null or missing, the user and password are reset to
their default values.
password [optional] – Password for proxy authorization. Default value is an
empty string. If this parameter is null or missing, the password is reset to the default
value.
Return Value
None.
postXML
Posts an XML document to the HTTP server. This method is only available upon
XML for ATP add-on package installation on the system.
Syntax
oHTTP.postXML(xml)
Parameters
xml – XMLDOMDocument object to be sent to the server. This method is
equivalent to the POST(objDOMDocument.xml) method.