Deprecated as of Oracle WebCenter Sites version 12c.
Syntax<soap.fault code="error_code" string="error_as_string" [actor="cause_of_error"] [detail="error_details"] /> </soap.fault>
- Code identifying the error. Default codes include:
- Version Mismatch
- Error printed out as a string.
- Cause of the error.
- Detailed error information.
SOAP messages can contain, at most, one status or error return message. This is called a SOAP fault element. Sites does not check that more than one fault element is used. A fault element can be used for both error and status return.
The following table lists the default codes :
Error Description Version Mismatch Invalid namespace for the SOAP Envelope element. MustUnderstand A child element of the Header element, with the mustUnderstand attribute set to "1", was not understood. Client The message was incorrectly formed or contained incorrect information. Server There was a problem with the server so the message could not proceed.
This example code checks for an error, then displays the soap fault as the error message.
<IF COND="IsError.Variables.errno=true"> <THEN> <soap.fault code="Server" string="Nothing to do!" actor="database" detail="Dummy"/> </THEN> </IF>
Home > Contents > Index >
Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.