NonStop SOAP 4.1 User's Manual

For example:
OSS> export PATH=/usr/tandem/java/bin:$PATH
where,
/usr/tandem/java/
is the Java installation directory.
4. Create a directory named src in <NonStop SOAP 4 Deployment
Directory>/client/<service_name> using the following command:
OSS> mkdir <NonStop SOAP 4 Deployment Directory>/client/<service_name>/src
For example:
OSS> mkdir <NonStop SOAP 4 Deployment Directory>/client/math/src
The <NonStop SOAP 4 Deployment Directory>/client/math/src directory will
be called the <Math Client Source Directory> throughout the chapter.
5. Generate the client stub files using the WSDL2C command:
OSS> WSDL2C [options] uri [wsdl path]
where,
[options] includes the following:
-o <output location>
specifies an output location where the client stubs and build scripts (build.sh) 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.
-d <data binding>
specifies the data binding, if any, to be used by the client while communicating with
the service.
NOTE: Use the -u option if the data binding value is adb”.
-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.
NOTE: By default, the WSDL2C tool runs in the synchronous mode.
-wv <version>
specifies the WSDL file version.
-f
flattens the generated files.
-or
overwrites the existing files.
-u
unpacks the data binding classes.
NOTE: Do not use the -a and -s options together.
-uri <wsdl_path>
specifies the location of the WSDL file.
120 NonStop SOAP 4 Client APIs