NonStop SOAP 4.1 User's Manual

For example:
OSS> export PATH=/usr/tandem/nssoap/t0865h01/tools:$PATH
where,
/usr/tandem/nssoap/t0865h01
is the NonStop SOAP 4 installation directory.
3. Add the <Java Installation Directory>/bin directory to the PATH environment
variable, using the command:
OSS> export PATH=<Java Installation Directory>/bin:$PATH
For example:
OSS> export PATH=/usr/tandem/java/bin:$PATH
where,
/usr/tandem/java/
is the Java installation directory.
4. Generate the service skeleton files using the WSDL2C tool. You can generate the service skeleton
files using the following command:
OSS> WSDL2C [options] ss -uri [wsdl path]
where,
-ss
creates the server side skeleton files.
-uri [wsdl path]
specifies the location of the WSDL file.
[options] include the following:
-d <data binding name>
specifies the data binding option to be used.
-o
specifies a directory path for the generated code.
-pn <port_name>
enables you to select a specific port when there are multiple ports in the WSDL file.
-sn <service_name>
enables you to select a specific service when there are multiple services in the WSDL file.
-wv <version>
specifies the WSDL versions.
For example:
OSS> WSDL2C -o "<NonStop SOAP 4 Deployment Directory>/services/math/src" -ss -d none
-uri "<NonStop SOAP 4 Deployment Directory>/services/math/SoapPW_math.wsdl"
Developing NonStop SOAP 4 Services using Service APIs 101