Java Reference
In-Depth Information
detail
A required element if the error is related to the processing of the SOAP body, in which
case it provides details concerning what went wrong.
faultcode
A required element in a Fault. It must be a fully qualified name (that is, it must contain a
prefix and local part).
The SOAP 1.1 specification defines four fault codes, and they are listed in Table 5-1 .
Table5-1.SOAP 1.1 fault codes
Local name
Purpose
Client (called
Sender in SOAP
1.2)
The node processing the SOAP message found that the message was improperly formed,
or did not contain sufficient data to complete processing.
Server (called Re-
ceiver in SOAP
1.2)
There is nothing wrong with the message itself, but the node throwing the fault was un-
able to process the message due to some problematic condition with the receiver. This
generally means that the same message can be sent again later, and that the receiver may
be able to process it at that point.
MustUnderstand The node throwing the fault doesn't understand part of the message that a header in the
message asserts that it should.
VersionMismatch The node throwing the fault expected a valid envelope containing the proper namespace
and local name, but found something else.
The only possible child elements of soap:Fault in SOAP 1.2 are the following:
Reason
Provides a human-readable explanation of the fault
Node
Indicates the node that was processing the message when the fault occurred
Role
Indicates the role in which the processor was acting when the fault occurred
Detail
Carries application-specific error information, and may be used for additional explanation
of fault codes used
Search WWH ::




Custom Search