Questionmark's Open Assessment Platform

SOAP fault messages

A SOAP fault message has the following form:

<?xml version="1.0" encoding="utf-8" ?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<soap:Fault>

<faultcode>Code</faultcode>

<faultstring>Diagnosis</faultstring>

<faultactor>Source</faultactor>

<detail>

<error>ErrorCode</error>

<message>ErrorMessage</message>

</detail>

</soap:Fault>

</soap:Body>

</soap:Envelope>

The parameters CodeDiagnosis and Source are not intended for developers.

The parameters in the <detail> element (ErrorCode and ErrorMessage) are generated by QMWISe to help developers diagnose and solve problems.

The <detail> element

The <detail> element within a SOAP fault message contains two other elements within it which contain the following information:

Element Parameter Information
<error> ErrorCode A code that pinpoints the error (see the error codes and messages)
<message> ErrorMessage An explanation of the ErrorCode (see the error codes and messages)