Export (0) Print
Expand All

4.1 Getting Details for Nonindexable Items

This example of the GetNonIndexableItemDetails operation, as described in section 3.1.4.1, shows how the client retrieves from the server the details for items that could not be indexed.

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
          xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
          xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
  <soap:Header>
    <t:RequestServerVersion Version="Exchange2013" />
  </soap:Header>
  <soap:Body >
    <m:GetNonIndexableItemDetails>
      <m:Mailboxes>
        <t:LegacyDN>/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=35181a742f0e47e392c8201a60d13ecf-Steve</t:LegacyDN>
      </m:Mailboxes>
      <m:SearchArchiveOnly>false</m:SearchArchiveOnly>
    </m:GetNonIndexableItemDetails>
  </soap:Body>
</soap:Envelope>

The server sends the following successful response to the client. The response shows that the document had a parsing error.

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <h:ServerVersionInfo MajorVersion="15" 
                         MinorVersion="0" 
                         MajorBuildNumber="526" 
                         MinorBuildNumber="0" 
                         Version="Exchange2013" 
             xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" 
             xmlns="http://schemas.microsoft.com/exchange/services/2006/types" 
             xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <GetNonIndexableItemDetailsResponse ResponseClass="Success" 
             xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <ResponseCode>NoError</ResponseCode>
        <NonIndexableItemDetailsResult>
          <Items xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
            <NonIndexableItemDetail>
              <ItemId Id="AQMkAGVmNDAyODMwLTNkMzMALTRhMGQtYTRlOS1kODU3NjkwMAE2MGQARgAAA2L1bNf8ooZNtO4guk3auRYHALkzPvMoJY1FjWrkRuQQcK0AAAMLAAAAuTM+8ygljUWNauRG5BBwrQAAAY2fUAAAAA==" ChangeKey="CQAAAA=="/>
              <ErrorCode>DocumentParserFailure</ErrorCode>
              <ErrorDescription>The document parser encountered a processing error.</ErrorDescription>
               <IsPartiallyIndexed>false</IsPartiallyIndexed>
               <IsPermanentFailure>true</IsPermanentFailure>
             <SortValue>502511175756</SortValue>
             <AttemptCount>0</AttemptCount>
             <LastAttemptTime>2012-11-15T01:56:11Z</LastAttemptTime>
             <AdditionalInfo> 301002 Error parsing document 'exchange://localhost/Attachment/d987b1f4-9aa7-42b3-aa8c-9515a35dfa1a/1f3047d4-c287-41e4-910c-feb70c1a59f0/ef402830-3d33-4a0d-a4e9-d8576900060d/85b83861-0026-418f-8464-be2036696333/502511175756.0/binaryfile.abc'. Document has an undetectable format and will not be parsed.</AdditionalInfo>
          </NonIndexableItemDetail>
        </Items>
      </NonIndexableItemDetailsResult>
    </GetNonIndexableItemDetailsResponse>
  </s:Body>
</s:Envelope>
Show:
© 2014 Microsoft