NonStop SOAP 4.1 User's Manual

Updating the Service Parameters
The services.xml file is used to set the service parameters to configure a service as a Pathway
application, a process, or as a DLL.
NOTE: The service parameters are set using the parameter tag and are defined as name-value
pairs. You need not modify the service parameters because the services.xml file is generated
by the SoapAdminCL tool.
This section describes the following topics:
“Configuring a service as a Pathway application (page 183)
“Configuring a service as a process (page 183)
“Configuring a service as a DLL (page 183)
“Other Service Parameters (page 184)
Configuring a service as a Pathway application
To configure a service as a Pathway application, use the axis2_pway_receiver Message
Receiver and set the following parameters in the services.xml file:
wsdl_path: specifies the location of the WSDL file of the service.
pathmon: specifies the name of the PATHMON on which the Pathway service is running.
serverclass: specifies name of the server class for the Pathway service.
serverLanguage: specifies the language in which the service is implemented.
For example, to update the parameters, add the following entries in the services.xml file:
<parameter name="wsdl_path">/home/t0865h01/services/
empdb/SoapPW_empdb.wsdl</parameter>
<parameter name="pathmon">$AXIS</parameter>
<parameter name="serverclass">EMPDB</parameter>
<parameter name="serverLanguage">C</parameter>
Configuring a service as a process
To configure a service as a process, use the axis2_pway_receiver Message Receiver and set
the following parameters in the services.xml file:
wsdl_path: specifies the location of the WSDL file of the service.
process: specifies name of the process that is running.
serverLanguage: specifies the language in which the service is implemented.
For example, to update the parameters, add the following entries in the services.xml file:
<parameter name="wsdl_path">/home/t0865h01/services/
empdb/SoapPW_empdb.wsdl</parameter>
<parameter name="process">$AXIS</parameter>
<parameter name="serverLanguage">C</parameter>
Configuring a service as a DLL
To configure a service as a DLL, use the axis2_receivers Message Receiver and set the following
parameters in the services.xml file:
wsdl_path: specifies the location of the WSDL file of the service.
serviceClass: specifies the class name of the service DLL. If the service DLL name is
libecho.so, the class value will be echo.
For example, to update the parameters, add the following entries in the services.xml file:
The services.xml File 183