NonStop SOAP User's Manual
Using NonStop SOAP with a TS/MP Application and 
NonStop Processes
NonStop SOAP User’s Manual—520501-012
6-8
Annotated Example SDL Files for TS/MP
The corresponding DDL definition, which is not part of the SDL file, is:
definition employee-def.
02 employee-number pic 9999.
02 empname.
 03 first pic x(20).
 03 last pic x(30).
 03 middle pic x.
02 regnum pic 99.
02 branchnum pic 99.
02 d401k pic 99.
02 reqaccep pic x.
end 
definition employee-reply.
02 reply-code pic 99.
02 employee-info type employee-def.
end 
These lines specify a response structure ErrorReply, used when the first 2 bytes of the 
response have the value “03.” The value of the Fault attribute is “yes,” indicating an 
error response, which will cause the running process to generate a SOAP fault.
<ResponseInfo>
 <DDLDefinitionName>ErrorReply</DDLDefinitionName>
 <ResponseSelection Start="0" End="2" BufVal="03"
 Fault="yes"/>
</ResponseInfo>
The corresponding DDL definition, which is not part of the SDL file, is:
definition error-reply.
02 reply-code pic 99.
02 error-text pic x(60).
End
These lines specify an error message to be generated. Here there is no associated 
DDL Definition representing the response from the target TS/MP service. This error 
message is used when the first two bytes of the response have the value “04.” The 










