This text file contains sample code fragments from:
Section 11.5 - Fault Messages
Chapter 11 - Fundamental Message Design: SOAP Envelope Structure, Fault Messages, and Header Processing
Book - Web Service Contract Design & Versioning for SOA
Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl
Site - www.soabooks.com
soap:VersionMismatch
Version Mismatch
Example 11.15 - The soap:Code element indicating a version mismatch error.
...additional details...
soap:MustUnderstand
Mandatory header(s) not understood
Example 11.16 - The soap:MustUnderstand fault. Note the bolded soap:Header construct can provide further details as to why this fault occurred.
soap:Sender
Malformed message
Example 11.17 - A fault that points to the sender of the message as the source of invalid message content that caused the exception.
soap:Receiver
Resource Unavailable
Example 11.18 - The soap:Code construct indicating that the receiver of the message raised the fault due to an unavailable resource it likely required to process the message.
soap:DataEncodingUnknown
Unrecognized data encoding
Example 11.19 - An unrecognized data encoding format causes a SOAP node to generate this fault message.
soap:Sender
sec:AuthenticationFailed
User name not recognized.
anonymous
Example 11.20 - A soap:Detail construct containing custom elements.