NonStop SOAP User's Manual

Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual520501-012
6-54
Fault Messages
Error from the TS/MP Service
This messages indicate errors returned by the TS/MP service. The response from the
SOAP service is based on ResponseSelection elements of the service definition.
Fault messages in this category do not always have the same fault string.
Recovery varies with the message. For example, this message could signify a data
entry error on the client side (the operator meant to request data for employee number
1234 and accidentally typed an extra character):
<SOAP-ENV:Envelope>
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>505</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<EmpInfoResponse1>
<reply-code>03</reply-code>
<error-text>Employee Number 12345 does not
exist</error-text>
</EmpInfoResponse0>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
In contrast, the following message signifies a file-system
error:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Processing</faultcode>
<faultstring>Error Processing the
Document</faultstring>
<detail>
<detailCode>-1</detailCode>
<detailString ts="2004/08/06"><EmpAddResponse1>