NonStop SOAP 4.1 User's Manual

For example, if you specified $DATA.MATH as the dictionary location in the mathddl file, successful
compilation of mathddl generates the following files in the $DATA.MATH location:
oss> exit
GUARDIAN> volume $DATA.MATH
$DATA.MATH> fileinfo *
CODE EOF LAST MODIFIED OWNER RWEP PExt SExt
DICTALT 201A 12288 07NOV2008 18:40 255,255 NUNU 4 32
DICTCDF 207A 0 07NOV2008 18:40 255,255 NUNU 4 32
DICTDDF 200 30 07NOV2008 18:40 255,255 NUNU 14 14
DICTKDF 206A 0 07NOV2008 18:40 255,255 NUNU 4 32
DICTMAP 209A 0 07NOV2008 18:40 255,255 NUNU 4 32
DICTOBL 204A 12288 07NOV2008 18:40 255,255 NUNU 4 32
DICTODF 202A 12288 07NOV2008 18:40 255,255 NUNU 4 32
DICTOTF 203A 12288 07NOV2008 18:40 255,255 NUNU 4 32
DICTOUF 208A 0 07NOV2008 18:40 255,255 NUNU 4 32
DICTOUK 208A 0 07NOV2008 18:40 255,255 NUNU 4 32
DICTRDF 205A 0 07NOV2008 18:40 255,255 NUNU 4 32
DICTTKN 209A 0 07NOV2008 18:40 255,255 NUNU 4 32
DICTTYP 209A 0 07NOV2008 18:40 255,255 NUNU 4 32
DICTVER 209A 0 07NOV2008 18:40 255,255 NUNU 4 32
$DATA.MATH> osh
OSS>
Creating the SDL File for the Service
After you define the XML request and response payload, you must create the SDL file for the service
because the SoapAdminCL tool uses the SDL file as an input to generate the WSDL file. NonStop
SOAP 4 uses the generated WSDL file to process requests.
You can create an SDL file manually or you can use the NonStop SOAP 4 Administration Utility
to create the SDL file. For the math sample, the completed SDL file, mathsdl.xml is available
in the <NonStop SOAP 4 Installation Directory>/sample_services/math/service
directory.
After the SDL file is available, complete the following steps:
1. Create the SDL file for the service using one of the following approaches:
Manually write the SDL file for the service. Create the directory structure /math/src
under the <NonStop SOAP 4 Deployment Directory>/services using the
following OSS commands:
OSS>mkdir <NonStop SOAP 4 Deployment Directory>/services/math
OSS>mkdir <NonStop SOAP 4 Deployment Directory>/services/math/src
Use the NonStop SOAP 4 Administration Utility.
NOTE: If you have created the SDL file using the NonStop SOAP 4 Administration
Utility, do not copy the mathsdl.xml file. The NonStop SOAP 4 Administration Utility
replaces the SDL file in the appropriate location.
For information on generating the SDL file using the NonStop SOAP 4 Administration
Utility, see “NonStop SOAP Tools” (page 194).
You must place the SDL file for the math service at this location. The SDL file for the math
service is provided with the NonStop SOAP 4 distribution and is available in <NonStop
SOAP 4 Installation
Directory>/sample_services/math/service/mathsdl.xml.
You may choose to copy this SDL file to <NonStop SOAP 4 Deployment
Directory>/services/math/src.
98 NonStop SOAP 4 Service APIs