NonStop SOAP User's Manual
Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual—520501-012
6-13
Annotated Example SDL Files for TS/MP
validate the input SOAP message, DDL definitions will be cached by the SOAP server
on startup, and that the service is context sensitive.
<Service ServiceName ="HdlnInfo"
SoapCompliant="yes"
TMFTransactionSupport="yes"
NameSpaceQualified="yes"
SoapMessageType="rpc"
OneTxnPerDialog="yes"
DTDorSchema="DTD"
Cache="yes"
Type="ContextSensitive">
<SvcDescription>Headline News </SvcDescription>
These lines lines specify that the name of the DDL definition describing the request is
hdlns-rq-def. This definition must be present in the DDL Dictionary specified by the
attribute DDLDictionaryLocationof the element ServerClass.
<RequestInfo>
<DDLDefinitionName>hdlns-rq-def</DDLDefinitionName>
</RequestInfo>
These lines specify a response structure hdlns-rp-def, used by default. The value
of the Fault attribute is “no,” indicating a good response, so this response does not
generate a SOAP fault.
<ResponseInfo>
<DDLDefinitionName>hdlns-rp-def</DDLDefinitionName>
<ResponseSelection defaultResp="yes" Fault="no"/>
</ResponseInfo>
These lines specify a response structure hdlns-err-rp-def, used when the first 2
bytes of the response have the value “1.” The value of the Fault attribute is “no,”
indicating a good response, which will not cause a SOAP fault.
<ResponseInfo>
<DDLDefinitionName>hdlns-err-rp-def</DDLDefinitionName>
<ResponseSelection Start="0" End="2" BufVal="1"
ConversionOp="decimal" Fault="no"/>
</ResponseInfo>