NonStop SOAP 4.1 User's Manual
In case of the math service, the libmath.so file and the services.xml file must be located
in the <NonStop SOAP 4 Deployment Directory>/services/math directory.
The math service is now deployed.
Testing the Service
To test the math service, you must create the math client. For information on creating a math
client, see “NonStop SOAP 4 Client APIs” (page 105).
To run the math client complete the following steps:
1. Access the options offered by the math service using the following Web address pattern:
http://<ip address>:<port>/<url_pattern>/client/math/<html_client_name>
where,
<ip address>:<port>
is the IP address and port of iTP WebServer integrated with NonStop SOAP 4.
url_pattern
is the string entered in Step 6 in “Setting up the Deployment Environment” (page 38). The
default value is axis2c.
client
is the name of the directory in <NonStop SOAP 4 Deployment Directory> where
NonStop SOAP 4 HTML clients for the math service are located.
math
is a sub-directory in the client directory. The math sub-directory includes the HTML clients
needed to access the operations offered by the math Web service.
<html_client_name>
is the name of the HTML client in the client/math directory.
NOTE: You can access the HTML clients for the math service using the following Web
address:
http://<ip address>:<port>/<url-pattern>/client/math
The links to HTML clients for the following math service operations are displayed on the
browser:
SoapPW_add.html – HTML client for the addition operation
SoapPW_sub.html – HTML client for the subtraction operation
SoapPW_mul.html – HTML client for the multiplication operation
SoapPW_div.html – HTML client for the division operation
2. Perform the required operation. For example, to perform an addition operation, complete the
following steps:
1. Go to the SoapPW_add.html Web page.
Developing NonStop SOAP 4 Services using Service APIs 103










