iTP Active Transaction Pages (iTP ATP) Programmer's Guide
ATP Examples
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide—522292-002
F-6
Objects Defined in the XML for ATP SOAP Library
Objects Defined in the XML for ATP SOAP Library
Table 6-3 lists objects defined in the example scripts provided on the ATP CD for the 
XML for ATP add-on interface. They are not part of the standard ATP interface. This list 
isn’t complete: however, it includes the functions applicable to a wide range of 
applications. You can copy and modify these objects for use in your own scripts.
File locations are relative to the directory /usr/tandem/atp/samples/soaplib.
isMoney (s) Returns true if the supplied 
value is in dollars-and-cents 
format; returns false 
otherwise.
examples/pathway/homebank
/Webpages/util_client.inc
isPositiveInteger (s) Returns true if the supplied 
value is a positive integer; 
returns false otherwise.
examples/pathway/homebank
/Webpages/util_client.inc
RemoveSpaces Removes spaces from a 
string.
examples/pathway/homebank
/Webpages/util_client.inc
sendMail (smtphost, 
from, fromHost, to, 
toHost, subject, 
message)
Sends a mail message, using 
Simple Mail Transfer 
Protocol (SMTP).
examples/sockets/sendmail.atp
sendToServer 
(application, 
serverClass, 
dictionary, 
requestBuf)
Sends a request message to a 
server class, using the 
Pathsend facility of NonStop 
TS/MP.
examples/pathway/employee
/employee_list.atp
Note. Compaq does not represent the XML for ATP example programs as complete or suitable 
for production use.
Table 6-3. Objects Defined in the XML for ATP SOAP Library  (page 1 of 2)
Object Name What It Does Where to Find It
These objects provide a low-level interface for client and 
server applications to process and format SOAP messages
SoapReader Enables a server application to read 
and interpret a SOAP request message 
and a client application to read and 
interpret its SOAP response message. 
SoapReader.inc
SoapSerializer Enables a server application to format 
and return a SOAP response message 
and a client application to format and 
send its SOAP request message. 
SoapSerializer.inc
Table 6-2. Functions Defined in ATP Examples  (page 3 of 3)
Function Name What It Does Where to Find It










