NonStop SOAP User's Manual
Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual—520501-012
6-15
Annotated Example SDL Files for TS/MP
attribute DDLDictionaryLocation of the element ServerClass. This response is the
default and does not cause a SOAP fault.
<ResponseInfo>
<DDLDefinitionName>acct-rp-def</DDLDefinitionName>
<ResponseSelection defaultResp="yes" Fault="no"/>
</ResponseInfo>
These lines are closing tags.
</Service>
</ServerClass>
These lines specify the server class LibSvr. The attributes indicate that the server is
written in C or C++, that the strings are null terminated, the DDLDictionaryLocation
attribute specifies the location of the DDL dictionary that defines the request and
response message formats, and that the encoding is UTF-8:
<ServerClass Name="LibSvr"
language="C"
stringTermination="NullTerminated"
DDLDictionaryLocation="$DATA00.DDLSV"
SrvrEncoding="UTF-8">
These lines specify a service called BookData. The ServiceName attribute specifies
that the immediate child node of the Body element of the SOAP message has the tag
name BookData. The attributes specify that the input is SOAP compliant, that requests
require TMF transaction protection, that the XML parser need not validate the input
SOAP message, that the service is context free, and that DDL definitions will be
cached by the SOAP server on startup. The RspEncoding attribute specifies the
required output encoding for data returned from this service.
<Service ServiceName ="BookData"
SoapCompliant="yes"
TMFTransactionSupport="yes"
DTDorSchema="DTD"
Cache="yes"
Type="ContextFree"
RspEncoding="ISO-8859-1">
<SvcDescription>Books data </SvcDescription>