NonStop SOAP 4.1 User's Manual
SoapPW_myoperation1.xml
SoapPW_myoperation1Response0.xml
SoapPW_myoperation2.xml
SoapPW_myoperation2Response0.xml
/pway-xsd
SoapPW_myoperation1.xsd
SoapPW_myoperation1Response0.xsd
SoapPW_myoperation2.xsd
SoapPW_myoperation2Response0.xsd
/wsdl
SoapPW_myoperation1.wsdl
SoapPW_myoperation2.wsdl
/services
/myservice
SoapPW_myservice.wsdl
services.xml
Generating Module and Handler Stubs
To generate the module and handler stubs, use the SoapAdminCL tool with the –mod command
line option.
Use the following command to generate the module and handler stub files:
OSS> SoapAdminCL [-mod | -module] <module_name>
[-o | -outdir] <output directory>
[-f | -force]
where,
[-mod | -module] <module_name>
specifies the name of the global module handler.
[-o | -outdir] <output directory>
specifies the directory where the module handler stub files are generated.
[-f | -force]
specifies that the existing files (if any) created by the SoapAdminCL tool will be overwritten.
The directory structure appears as:
<output directory>
/modules
/<module_name>
module.xml
/src
<module_name>.c
<module_name>.h
<module_name>_in_handler.c
<module_name>_out_handler.c
Makefile
For example:
SoapAdminCL -mod logging -o /home/usr/my_nssoap -f
where,
/home/usr/my_nssoap
is the directory where the global module handler stub files are generated.
The directory structure appears as:
/home/usr/my_nssoap
/modules
/logging
module.xml
/src
logging.c
The SoapAdminCL Tool 199










