Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

2.2.2.1 Malformed XML SOAP Fault

The Disconnect, DisconnectPhoneCall, GetCallInfo, GetPhoneCallInformation, GetUMProperties, IsUMEnabled, PlayOnPhone2, PlayOnPhone, PlayOnPhoneGreeting, ResetPIN, SetMissedCallNotificationEnabled, SetOofStatus, SetPlayOnPhoneDialString, and SetTelephoneAccessFolderEmail operations, as specified in section 3.1.4, MUST use the SOAP fault specified in this section if the request XML is malformed according the schema specified in section 6. The following XML specifies the structure of the SOAP fault that is returned when a request contains malformed XML. This message is not specified in the schema.

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <s:Fault>
      <faultcode xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types">a:ErrorInvalidRequest</faultcode>
      <faultstring xml:lang="en-US">The request is invalid.</faultstring>
      <detail>
        <e:ResponseCode xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">ErrorInvalidRequest</e:ResponseCode>
        <e:Message xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">The request is invalid.</e:Message>
      </detail>
    </s:Fault>
  </s:Body>
</s:Envelope>

The faultcode element MUST contain a text value of "a:ErrorInvalidRequest" if the request is malformed.

The faultstring element MUST contain a text value of "The request is invalid" if the request is malformed.

The contents of the SOAP fault detail element are specified by the ResponseCode element, as specified in section 2.2.3.3, and the Message element, as specified in section 2.2.3.2. The Message element MUST contain a text value of "The request is invalid" if the request contained malformed XML. The ResponseCode element MUST have a text value of "ErrorInvalidRequest" if the request contained malformed XML.

If the request contained well-formed XML that is not valid, the ResponseCode element MUST have a text value of "ErrorSchemaValidation" and the Message element MUST contain a text value of "The request failed schema validation".

The ResponseCode and Message elements are not described in a schema.

Show:
© 2014 Microsoft. All rights reserved.