Errors are reported using a platform-neutral ErrorStackType
or FaultStackType
element, the definition of which is given below. These elements can be returned in the following situations:
ExecuteChanges
operation) a SOAP fault is generated, and an FaultStackType
element is returned.ErrorStackType
element is returned in the response XML appropriate
to where the error was detected in a RetrievalError
, TraversalError
,
or ObjectResponseType
element.The structure of an ErrorStackType
element in a RetrievalError
, TraversalError
or ObjectResponseType
element is as follows (the FaultStackType
element has the same structure). Attribute and subelement names are in italics:
RetrievalError
/TraversalError
/ObjectResponseType
ErrorStackType
ErrorStack(RetrievalError,TraversalError) or Item(ObjectResponseType)ErrorNameType
ErrorNameErrorRecordType
ErrorRecord[0]DiagnosticType
Diagnostic[0]DiagnosticType
DiagnosticType[1] . .ErrorRecordType
ErrorRecord[1] . .