NonStop SOAP 4.1 User's Manual

type="xsd:string" />
<xsd:attribute use="optional"
name="SessionCommand"
type="xsd:string" />
<xsd:attribute use="optional"
name="Subsession"
type="xsd:string" />
GenerateTransactionHeader
The GenerateTransactionHeader attribute specifies that the WSDL file schema should
be generated with the Transaction element definition in the SOAP header namespace.
For more information about the Transaction element, see “Transaction Management”
(page 236) .
For example:
SDL file:
GenerateTransactionHeader="yes"
Generated WSDL file:
<xsd:schema
elementFormDefault="qualified"
targetNamespace="urn:compaq_nsk_oss_SoapHeader"
xmlns="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Transaction">
<xsd:complexType>
<xsd:attribute use="optional"
name="Command"
type="xsd:string" />
<xsd:attribute use="optional"
name="TransactionID"
type="xsd:string" />
<xsd:attribute use="optional"
name="Timeout"
type="xsd:string" />
</xsd:complexType>
</xsd:element>
NOTE: When the GenerateSessionHeader and the GenerateTransactionHeader
attributes are set to yes, the SoapAdminCL tool returns the following error:
SOAPADMIN ERROR >> Error in definition of service "<service_name>".
Both attributes "GenerateSessionHeader" and "GenerateTransactionHeader" cannot have a value "yes"
GenerateModuleHandlerFiles
The GenerateModuleHandlerFiles attribute specifies whether the module handler files
must be generated. The default value is no. This attribute is optional.
For example:
SDL file:
GenerateModuleHandlerFiles ="yes"
Generated services.xml file:
<!-- uncomment the following parameter to engage the module -->
<!-- module ref="mod_<service_name>"/-->
Generated directory structure:
<NonStop SOAP 4 Deployment Directory>
/modules
/mod_<service_name>
module.xml
/src
Makefile
158 NonStop SOAP 4 Service Description Language