NonStop SOAP User's Manual

Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual520501-012
6-14
Annotated Example SDL Files for TS/MP
These lines are closing tags.
</Service>
</ServerClass>
These lines specify the server class AccountSvr. The attributes indicate that the server
is written in C or C++ and that the strings are null terminated. The
DDLDictionaryLocation attribute specifies the location of the DDL dictionary that
defines the request and response message formats:
<ServerClass Name="AccountSvr"
language="C"
stringTermination="NullTerminated"
DDLDictionaryLocation="$DATA00.DDLSV">
These lines specify a service called ProcessAccount. The ServiceName attribute
specifies that the immediate child node of the Body element of the SOAP message has
the tag name ProcessAccount. The attributes specify that the input is SOAP compliant,
that the service requires the client to initiate transactions, is supporting multiple
transactions per dialog, and the DDL definitions will be cached by the SOAP server on
startup, and the service is context sensitive.
<Service ServiceName ="ProcessAccount"
SoapCompliant="yes"
TMFTransactionSupport="yes"
OneTxnPerDialog="no"
Cache="yes"
Type="ContextSensitive">
<SvcDescription>Account Processing </SvcDescription>
These lines specify that the name of the DDL definition describing the request is
acct-rq-def. This definition must be present in the DDL Dictionary specified by the
attribute DDLDictionaryLocation of the element ServerClass.
<RequestInfo>
<DDLDefinitionName>acct-rq-def</DDLDefinitionName>
</RequestInfo>
These lines specify that the name of the DDL definition describing the reply is acct-
rp-def. This definition must be present in the DDL Dictionary specified by the