• SOAP faults occur when an application cannot understand a SOAP message or when an error occurs during the processing of a message. SOAP defines an XML fault element that carries error and/or status information back to the message sender.
• Faults are intended to provide detail to the sender as to why the fault occurred. The information that can be returned as part of a fault includes the following:
• faultcode: SOAP defines a set of faultcodes for basic SOAP errors, although an application may provide its own codes.
• faultstring: This element provides a readable explanation as to why the fault occurred.
• detail: The value of the detail element is that it provides information about the problem that occurred while processing the Body element. If not present, it indicates that the problem did not occur in the body of the SOAP message.
No comments:
Post a Comment