NonStop SOAP User's Manual

Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual520501-012
6-9
Annotated Example SDL Files for TS/MP
value of Fault attribute is “yes,” indicating an error response, which will cause the
running process to generate a SOAP fault.
<ResponseInfo>
<ErrorMessage>Invalid Employee Number</ErrorMessage>
<ResponseSelection Start="0" End="2" BufVal="04"
Fault="yes"/>
</ResponseInfo>
These lines are closing tags:
</Service>
</ServerClass>
</PathwayEnvironment>
</Pathway>
</sdl>
Request Message
This example is a SOAP document consistent with the request definition in the
example above:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<EmpInfo>
<requestCode>01</requestCode>
<employee-number>1234</employee-number>
</EmpInfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>