NonStop SOAP 4.1 User's Manual
OSS> make
The math.exe file is created at <NonStop SOAP 4 Deployment
Directory>/client/math/src.
4. 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.
Compiling the Client Code manually
To compile the client code manually and deploy the client, complete the following steps:
1. Compile the client code using the C89 compiler with the following options:
Table 3 lists the C89 compiler options.
Table 3 C89 Compiler Options
DescriptionC89 Compiler Options
Enables HP extensions.-Wextensions
Generates debugging symbols.-g
Includes the directory that contains the required header files. In NonStop SOAP
4 the required header files are located at <NonStop SOAP 4 Installation
Directory>/include.
-I
Specifies the OSS execution environment.-Wsystype=oss
Specifies the tns/e system environment.-Wtarget=tns/e
Ignores the missing symbol reference.-Weld="-unres_symbols
Ignore"
Avoids printing the library file locations on the screen.-Weld=-Noverbose
Includes the libraries to be linked.-l
Dynamically links the libraries specified in the -l command. In NonStop SOAP
4 the required library files are located at <NonStop SOAP 4 Installation
Directory>/lib.
-WBdynamic
2. Run the following command:
c89 -c axis2_stub_mathService.c -o math.exe \
-Wextensions \
-g \
-I/usr/tandem/nssoap/t0865h01/include \
-Wsystype=oss \
-Wtarget=tns/e \
-Weld="-unres_symbols Ignore" \
-Weld=-Noverbose \
-Weld="-first_l /usr/tandem/nssoap/t0865h01/lib" "-L /usr/local/lib" \
-WBdynamic \
-l /usr/tandem/nssoap/t0865h01/lib/libaxis2_engine.so \
-l /usr/tandem/nssoap/t0865h01/lib/libneethi.so \
-l /usr/tandem/nssoap/t0865h01/lib/libaxutil.so \
-l /usr/tandem/nssoap/t0865h01/lib/libaxis2_axiom.so \
-l /usr/tandem/nssoap/t0865h01/lib/libaxis2_parser.so \
-l /usr/tandem/nssoap/t0865h01/lib/libaxis2_http_receiver.so \
122 NonStop SOAP 4 Client APIs










