2.2.2.1 Serializing Error Complex Types in Soap Faults

Complex types designated as error complex types and returned as responses by the protocol server MUST be formatted as SOAP Faults, as specified in [SOAP1.2-1/2007] section 5.4.

Code: MUST contain a Value sub-element, which MUST be set by the sender. MAY contain a Subcode sub-element.

Reason: MUST contain a Text sub-element, which MUST be ignored by the protocol client.

Detail: MUST contain the error complex type or be empty.