Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

SOAP.FAULT

Creates a status or error return message.

Syntax

Parameters

code (required)
Code identifying the error. Default codes include:

string (required)
Error printed out as a string.

actor (optional)
Cause of the error.

detail (optional)
Detailed error information.

Description

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.

Example

This example code checks for an error, then displays the soap fault as the error message.

See Also

SOAP.BODY

SOAP.HEADER

SOAP.MESSAGE

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.