NonStop SOAP User's Manual

Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual520501-012
6-19
Annotated Example SDL Files for NonStop Process
GenerateUserExits attribute specifies that no user-exit code is generated for the
interface.
<Service ServiceName ="EmpInfo"
SoapCompliant="yes"
TMFTransactionSupport="yes"
AbortTransactionOnFault="yes"
Cache="yes"
NameSpaceQualified="no"
Metadata="yes"
SoapMessageType="document"
ProcessSoapDDLComments="no"
UseDDLDefaultValue="no"
DeployOption="addUpdate"
Generate="yes"
GenerateUserExits="no"
<SvcDescription>EmpInfo Sample</SvcDescription>
These lines specify that the name of the DDL definition describing the request is
EmpDetails00. This definition must be present in the DDL Dictionary specified by the
attribute DDLDictionaryLocation of the element ProcessDetails.
<RequestInfo>
<DDLDefinitionName>EmpDetails00</DDLDefinitionName>
</RequestInfo>
The corresponding DDL definition, which is not part of the SDL file is:
definition EmpDetails00.
02 request-code pic 99.
02 employee-number pic 9999.
end
These lines specify a response type EmployeeReply, to be used when the response
buffer has the value “02” in its first two bytes. In this example, the attribute
ComparisonOP is not specified and therefore has the default value of “eq”, meaning
equal.
<ResponseInfo>
<DDLDefinitionName>EmployeeReply</DDLDefinitionName>
<ResponseSelection Start="0" End="2" BufVal="02"/>
</ResponseInfo>