NonStop SOAP 4.1 User's Manual

<NonStop SOAP 4 Deployment
Directory>/client/<service_name>/SoapPW_<operation name>.html
The SoapPW_<operation name>.html file is HTML client for an operation of the
service.
<NonStop SOAP 4 Deployment
Directory>/client/<service_name>/pway-xsd/SoapPW_<request_name>.xsd
The SoapPW_<request_name>.xsd file is XML schema file for request structure of an
operation of the service.
<NonStop SOAP 4 Deployment
Directory>/client/<service_name>/pway-xsd/SoapPW_<request_name>Response0.xsd
The SoapPW_<request_name>Response0.xsd file is XML schema file for response
structure of an operation of the service.
NOTE: On successful execution, the SoapAdminCL tool generates client-specific XML, .html
files, and .xsd files in the <NonStop SOAP 4 Deployment
Directory>/client/<service_name> directory.
For the math service, invoke the SoapAdminCL tool by running the following OSS commands:
OSS>cd <Math Source Directory>
OSS>SoapAdminCL o <NonStop SOAP 4 Deployment Directory> -i mathsdl.xml
On successful execution, the following files are generated:
<NonStop SOAP 4 Deployment
Directory>/services/math/SoapPW_math.wsdl
<NonStop SOAP 4 Deployment Directory>/services/math/services.xml
<NonStop SOAP 4 Deployment Directory>/client/math/SoapPW_add.html
<NonStop SOAP 4 Deployment Directory>/client/math/SoapPW_sub.html
<NonStop SOAP 4 Deployment Directory>/client/math/SoapPW_mul.html
<NonStop SOAP 4 Deployment Directory>/client/math/SoapPW_div.html
The request and response XML files and the XML schema files are also generated with the
WSDL file, services.xml file, and HTML clients.
Generating the Service Skeleton Files
After you generate the WSDL file and the services.xml file for the service, either create the
service skeleton and client stub files manually, or use the WSDL2C tool to automate the creation of
the files.
To create the service skeleton files using the WSDL2C tool, 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 WSDL2C executable image to the OSS PATH variable, using
the command:
OSS> export PATH=<NonStop SOAP 4 Installation Directory>/tools:$PATH
100 NonStop SOAP 4 Service APIs