NonStop SOAP 4.1 User's Manual

DDLDictionaryLocation="$volume.subvolume"
NOTE: The DDL dictionary includes the SOAP request and response structures for the particular
service. If the dictionary is not available at the specified location, the SoapAdminCL tool
reports the following error and ends the operation.
SOAPADMIN ERROR >> Error generating files for <request/response> of service <service_name>
language
The language attribute specifies the language in which the service is written. The following
languages are available in NonStop SOAP 4:
COBOL
C
For example:
SDL file:
language="COBOL"
Generated services.xml file:
<parameter name="language">COBOL</parameter>
SrvrEncoding
The SrvrEncoding attribute specifies the character encoding used by the target PATHWAY
server. The default value is UTF-8. This attribute is optional.
For example:
SDL file:
SrvrEncoding=UTF-16
Generated WSDL file:
<xsd:complexType name="InEncodingType">
<xsd:element name="InEncoding">
<xsd:complexType>
<xsd:attribute name="InputEncoding" default="UTF-16" type="xsd:string" use="optional" />
</xsd:complexType>
</xsd:element>
</xsd:complexType>
GenerateSessionHeader
The GenerateSessionHeader attribute specifies that the WSDL file schema should be
generated with the Session element definition in the SOAP header namespace.
For more information about the Session element, see “Transaction Management” (page 236).
For example:
SDL file:
GenerateSessionHeader="yes"
Generated WSDL file:
<xsd:schema
elementFormDefault="qualified"
targetNamespace="urn:compaq_nsk_oss_SoapHeader"
xmlns="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Session">
<xsd:complexType>
<xsd:attribute use="optional"
name="SessionID"
type="xsd:string" />
<xsd:attribute use="optional"
name="BeginNewTransaction"
type="xsd:string" />
<xsd:attribute use="optional"
name="CurrentTransactionCommand"
SDL Service Types 157