NonStop SOAP 4.1 User's Manual

Table 22 WSDL File Elements with Limited Support (continued)
DescriptionElements with Limited SupportWSDL Components
NonStop SOAP 4 does not normalize the
string, sent in the Datatype for white
spaces.
normalizedString
NonStop SOAP 4 handles Duration as
xsd:string.
Duration
NOTE: If you are not using a pre-defined WSDL file, you can create a new WSDL file from the
DDL and SDL files by using the SoapAdminCL tool. For more information on generating a WSDL
file using the SoapAdminCL tool, see “Deploying a Pathway Application and a NonStop Process
as a Web Service (page 77).
Developing a NonStop SOAP 4 Pathway Web Service Using the
WSDL2PWY Tool
With the WSDL file for the service, you can create the client stubs and the Pathway service skeleton
files using the WSDL2PWY tool.
To generate the stubs, complete the following steps:
1. Set the OSS environment variable NSSOAP_HOME to the OSS location where the NonStop
SOAP 4 installation directory is located:
OSS> export NSSOAP_HOME=<NonStop SOAP 4 Installation Directory>
For example:
OSS> export NSSOAP_HOME=/usr/tandem/nssoap/t0865h01
where,
/usr/tandem/nssoap/t0865h01 is the NonStop SOAP 4 installation directory location.
2. Add the directory containing the SoapAdminCL 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 service skeleton files using the WSDL2PWY tool, using the following command:
OSS> WSDL2PWY -o <output directory> -ss -uri <wsdl path>
where,
-o
specifies the directory path for the generated files.
-ss
generates the service skeleton files. If this option is not specified, the service skeleton files
are not generated by the WSDL2PWY tool.
262 Using the Contract-First Approach in NonStop SOAP 4