2.2.4.42 MetadataException

Namespace: Microsoft.BusinessData.SharePoint

The MetadataException error complex type contains information about a protocol-server-side error caused by a syntactic or semantic violation of a MetadataModel constraint in the metadata store. This complex type MUST be included only as part of a SOAP fault, as specified in section 2.2.4.

 <xs:complexType name="MetadataException" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:sequence>
     <xs:element minOccurs="0" name="explicitMessage" type="xs:boolean"/>
     <xs:element minOccurs="0" name="innerExceptionToStringed" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="innerExceptionTypeFullName" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="metadataObjectTypeName" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="serverStackTrace" nillable="true" type="xs:string"/>
   </xs:sequence>
 </xs:complexType>

explicitMessage: Specifies if the error message is specific for the encountered problem or it is generic for the type of the problem encountered. If the error message is specific to the problem encountered, the value MUST be "true"; otherwise it MUST be "false".

innerExceptionToStringed: The detailed reason for the error.

innerExceptionTypeFullName: A name for the kind of violation that caused this fault. The protocol client MUST ignore this value.

message: A literal implementation-specific error message detailing the constraint violation.

metadataObjectTypeName: The type of MetadataObject being accessed when the error occurred.

serverStackTrace: The implementation-specific representation of the location on the protocol server where the error occurred.