NonStop SOAP 4.1 User's Manual
where,
/usr/tandem/nssoap/t0865h01
is the NonStop SOAP 4 installation directory location.
2. Add the directory containing the WSDL2C executable image to the OSS PATH variable.
OSS> export PATH=<NonStop SOAP 4 Installation Directory>/tools:$PATH
For example:
OSS> export PATH=/usr/tandem/nssoap/t0865h01/tools:$PATH
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 client stubs using the WSDL2C command:
OSS> WSDL2C [options] –u –uri [wsdl_path]
where,
-u
unpacks the databinding classes. This attribute must be specified if you use option -d and
specify its value as “adb”. If you specify option -d as “none”, then -u becomes optional
attribute.
-uri <wsdl_path>
specifies the location of the WSDL file.
[options] include the following:
-d
specifies the data binding option to be used.
-o <output location>
specifies the output location where the client stubs and build scripts must be generated.
-a
generates the client stubs to invoke a Web service in asynchronous or non-blocking
mode. In this mode, the client sends a request to the Web service and continues
processing without waiting for a response.
-s
generates the client stubs to invoke a Web service in synchronous mode or blocking
mode. In this mode, the client sends a request to the Web service and waits for a
response.
-wv <version>
specifies the WSDL file version. The valid options are 2, 2.0, and 1.1.
-f
flattens the generated files.
-or
overwrites the existing files.
NOTE: Do not use the -a and -s options together.
212 NonStop SOAP Tools










