Listing 2: A sample SOAP response message containing a Fault element

<SOAP:Envelope 
xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/' 
SOAP:encodingStyle=
'http://schemas.xmlsoap.org/soap/encoding/'>
    <SOAP:Body>
        <SOAP:Fault>
            <faultcode>SOAP:Client.InvalidParam</faultcode>
            <faultstring>Invalid parameter.</faultstring>
            <faultactor>http://www.no-duh.com/</faultactor>
            <detail>
                <err:excep 
                 xmlns:err='http://no-duh.com/excep/'>
                    <code>123</code>
                    <desc>Invalid SSN format.</desc>
                </err:excep>
            </detail>
        </SOAP:Fault>
    </SOAP:Body>
</SOAP:Envelope>
— End of Listing —