NonStop SOAP 4.1 User's Manual

Creating an SDL File to Communicate with a Non-Pathway Process
The SDL file has a different hierarchy for a service, which is provided by a non-Pathway process.
The new element <process> appears under the root <sdl> element. The DTD schema for the
SDL file appears as:
<!ELEMENT sdl (Pathway | Process | Enscribe | Tuxedo | XmlSql)+>
<!ELEMENT Process (ProcessEnvironment)+>
<!ELEMENT ProcessEnvironment (ProcessDetails)>
<!ATTLIST ProcessEnvironment Name CDATA #REQUIRED>
<!ELEMENT ProcessDetails (Service)+>
<!ATTLIST ProcessDetails Name CDATA #IMPLIED language (C | COBOL) "COBOL"
stringTermination (NullTerminated | NonNull) "NonNull" DDLDictionaryLocation
CDATA #REQUIRED SrvrEncoding CDATA "UTF-8">
For more information about the SDL file structure and its attributes, see “NonStop SOAP 4 Service
Description Language” (page 153).
The sample SDL file for the process communication appears as:
<sdl>
<Process>
<ProcessEnvironment Name="$echo">
<ProcessDetails Name="Reflector"
DDLDictionaryLocation="$FC3.AXTE1"
SrvrEncoding="UTF-8"
language="C"
stringTermination="NullTerminated">
<Operation Name="REFLECTOR"
TMFTransactionSupport="yes"
AbortTransactionOnFault="yes"
NameSpaceQualified="yes"
SoapMessageType="document"
ProcessSoapDDLComments="no"
SoapDDLAttribute="no"
UseDDLDefaultValue="no">
<OperationDescription> Reflector </OperationDescription>
<RequestInfo>
<DDLDefinitionName>INPUT</DDLDefinitionName>
</RequestInfo>
<ResponseInfo>
<DDLDefinitionName>INPUT</DDLDefinitionName>
<ResponseSelection defaultResp="yes" />
</ResponseInfo>
</Operation>
</ProcessDetails>
</ProcessEnvironment>
</Process>
</sdl>
Creating a DDL File with the Request/Response Structures
The request and response message structures for the process must be defined in the DDL file. The
location of the DDL dictionary and other details of the process must be specified within the
appropriate attributes of the ProcessDetails element.
The name attribute of the ProcessDetails element has a maximum length of 64 characters. If
a value greater than the maximum length is specified, the characters after the 64th character are
ignored. The remaining attributes in the process SDL hierarchy are similar to their counterparts in
the Pathway hierarchy.
Generating NonStop SOAP 4 Files using the SoapAdminCL Tool
After the DDL and SDL files are created, run the SoapAdminCL tool to generate the NonStop
SOAP 4 files. For information on using the SoapAdminCL tool to generate NonStop SOAP 4 files,
see “NonStop SOAP Tools” (page 194).
232 NonStop SOAP 4 Features