NonStop SOAP 4.1 User's Manual

2. Update the following attributes in the mathsdl.xml file:
Url
Verify the Url attribute of the sdl element. This attribute must have a Web address
pattern.
For example,
Url= /mytest
where,
"/mytest" is the Web address pattern entered while creating the NonStop SOAP 4
deployment directory by running the deploy.sh deployment script. For more information,
see Step 6 in “Setting up the Deployment Environment” (page 38).
ServerAddress
Update the ServerAddress attribute of the sdl element with the iTP WebServer IP
address and port number, where NonStop SOAP 4 is deployed. You must set the value
for the ServerAddress attribute in the following format:
ServerAddress ="http://<ip address>:<port>"
where,
<ip address>:<port>
is the IP address and port of iTP WebServer integrated with NonStop SOAP 4.
DDLDictionaryLocation
Update the DDLDictionaryLocation attribute of the Service element with the
Guardian subvolume location specified in the service DLL file.
For example:
DDLDictionaryLocation="$DATA.MATH"
Generating the WSDL File and the services.xml File
To generate the WSDL file and the services.xml file using the SoapAdminCL tool, complete
the following steps:
1. 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, if you have installed NonStop SOAP 4 in the default location (/usr/tandem/
nssoap/t0865h01), the OSS command to update the PATH environment variable is:
OSS> export PATH=/usr/tandem/nssoap/t0865h01/tools:$PATH
2. Run the SoapAdminCL tool to generate the WSDL file and the services.xml file for the
service using the command:
OSS> SoapAdminCL -o <NonStop SOAP 4 Deployment Directory> -i <SDL filename>
The SoapAdminCL command generates the following files:
<NonStop SOAP 4 Deployment
Directory>/services/<service_name>/SoapPW_<service_name>.wsdl
The SoapPW_<service_name>.wsdl file contains the service definition details and
the XML schema definitions generated for the service.
<NonStop SOAP 4 Deployment
Directory>/services/<service_name>/services.xml
The services.xml file contains the service configuration details that are required by
the NonStop SOAP 4 server during runtime.
Developing NonStop SOAP 4 Services using Service APIs 99