CHAPTER 8 – XML-RPC – Fault
Not all requests return a normal response, and not everything works as expected (for example, if the PEBCAK). When something doesn't work as expected, a <fault /> element is returned, rather than a <params /> element. The <fault /> always contains a <struct /> with two members: the faultCode (with an integer value) and a faultString (a string). Because the faultCodes are not defined in the XML-RPC specification, they are implemen- tation-independent.
Here is an example of a <fault /> response: <?xml version="1.0"?> <methodResponse> <fault> <value> <struct> <member> <name>faultCode</name> <value><int>3</int></value> </member> <member> <name>faultString</name> <value><string>Incorrect parameters passed to method< string></value> </member> </struct> </value> </fault> </methodResponse>