NonStop SOAP 4.1 User's Manual
-l /usr/tandem/nssoap/t0865h01/lib/libaxis2_http_sender.so \
-l /usr/tandem/nssoap/t0865h01/lib/libguththila.so
3. Ensure that the services.xml and the service DLL (.so) files are located in the <NonStop
SOAP 4 Deployment Directory>/services/<service_name> directory.
OSS> cd <NonStop SOAP 4 Deployment Directory>/services/<service_name>
OSS> ls
lib <service_name>.so services.xml
For the math service, the libmath.so and the services.xml file must be located in
<NonStop SOAP 4 Deployment Directory>/services/math.
This completes the deployment of the math client.
Testing the Client
To run the math client, complete the following steps:
1. Provide execute permissions to the executable file math.exe:
OSS> chmod +x math.exe
2. Set the AXIS2C_HOME environment variable to <NonStop SOAP 4 Deployment
Directory> for the log files to be generated inside the <NonStop SOAP 4 Deployment
Directory>/logs folder.
OSS> export AXIS2C_HOME=<NonStop SOAP 4 Deployment Directory>
3. Execute the math client using the following command.
OSS> cd <Math Client Source Directory>
OSS> ./math.exe <operation> <param1> <param2> <endpoint url>
where,
<operation> is the operation name: add, sub, mul, or div.
<param1> and <param2> are the integer values being passed to the service.
<endpoint url> is the iTP WebServer address in the format.
http://<iTP WebServer address>:<portnumber>
/<url_pattern>/services/math
Developing NonStop SOAP 4 Clients Using Client APIs 123










