title: The 'Traversal' attribute is not declared. In GetItem EWS request
body: <p>I have EWS soap request:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
      xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"&gt;
      &lt;soap:Header&gt;
          &lt;t:ExchangeImpersonation&gt;
              &lt;t:ConnectingSID&gt;
                  &lt;t:PrincipalName&gt;room1@exch2010.local&lt;/t:PrincipalName&gt;
              &lt;/t:ConnectingSID&gt;
          &lt;/t:ExchangeImpersonation&gt;
      &lt;/soap:Header&gt;
      &lt;soap:Body&gt;
          &lt;m:GetItem Traversal="Shallow"&gt;
              &lt;m:ItemShape&gt;
                  &lt;t:BaseShape&gt;IdOnly&lt;/t:BaseShape&gt;
                  &lt;t:AdditionalProperties&gt;
                      &lt;t:FieldURI FieldURI="item:Subject"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="calendar:Start"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="calendar:End"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="calendar:Location"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="calendar:Organizer"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="item:Body"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="item:TextBody"&gt;&lt;/t:FieldURI&gt;
                  &lt;/t:AdditionalProperties&gt;
              &lt;/m:ItemShape&gt;
              &lt;m:ItemIds&gt;
                  &lt;t:ItemId Id="AAAUAHJvb20xQGV4Y2gyMDEwLmxvY2FsAEYAAAAAALp73pDts6BGkBAHp2xunxIHAOLiLPCbqYNEl0bu9R23VJMAAAAW2OQAAOLiLPCbqYNEl0bu9R23VJMAAAAXKY8AAA==" ChangeKey="DwAAAA=="&gt;&lt;/t:ItemId&gt;
              &lt;/m:ItemIds&gt;
          &lt;/m:GetItem&gt;
      &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>Response error is:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
          &lt;s:Body&gt;
              &lt;s:Fault&gt;
                  &lt;faultcode xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types"&gt;a:ErrorSchemaValidation&lt;/faultcode&gt;
                  &lt;faultstring xml:lang="en-US"&gt;The request failed schema validation: The 'Traversal' attribute is not declared.&lt;/faultstring&gt;
                  &lt;detail&gt;
                      &lt;e:ResponseCode xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors"&gt;ErrorSchemaValidation&lt;/e:ResponseCode&gt;
                      &lt;e:Message xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors"&gt;The request failed schema validation.&lt;/e:Message&gt;
                      &lt;t:MessageXml xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"&gt;
                          &lt;t:LineNumber&gt;16&lt;/t:LineNumber&gt;
                          &lt;t:LinePosition&gt;20&lt;/t:LinePosition&gt;
                          &lt;t:Violation&gt;The 'Traversal' attribute is not declared.&lt;/t:Violation&gt;
                      &lt;/t:MessageXml&gt;
                  &lt;/detail&gt;
              &lt;/s:Fault&gt;
          &lt;/s:Body&gt;
      &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>Why would it fail?</p>
  
  <p>Similar request </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
      xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"&gt;
      &lt;soap:Header&gt;
          &lt;t:ExchangeImpersonation&gt;
              &lt;t:ConnectingSID&gt;
                  &lt;t:PrincipalName&gt;room1@exch2010.local&lt;/t:PrincipalName&gt;
              &lt;/t:ConnectingSID&gt;
          &lt;/t:ExchangeImpersonation&gt;
      &lt;/soap:Header&gt;
      &lt;soap:Body&gt;
          &lt;m:FindItem Traversal="Shallow"&gt;
              &lt;m:ItemShape&gt;
                  &lt;t:BaseShape&gt;IdOnly&lt;/t:BaseShape&gt;
                  &lt;t:AdditionalProperties&gt;
                      &lt;t:FieldURI FieldURI="item:Subject"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="calendar:Start"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="calendar:End"&gt;&lt;/t:FieldURI&gt;
                      &lt;t:FieldURI FieldURI="calendar:Location"&gt;&lt;/t:FieldURI&gt;
                  &lt;/t:AdditionalProperties&gt;
              &lt;/m:ItemShape&gt;
              &lt;m:CalendarView StartDate="2016-05-30T11:08:48" EndDate="2016-12-31T11:08:48"&gt;&lt;/m:CalendarView&gt;
              &lt;m:ParentFolderIds&gt;
                  &lt;t:FolderId Id="AAAUAHJvb20xQGV4Y2gyMDEwLmxvY2FsAC4AAAAAALp73pDts6BGkBAHp2xunxIBAOLiLPCbqYNEl0bu9R23VJMAAAAW2OQAAA==" ChangeKey="AgAAABYAAADi4izwm6mDRJdG7vUdt1STAAAAFtkD"&gt;&lt;/t:FolderId&gt;
              &lt;/m:ParentFolderIds&gt;
          &lt;/m:FindItem&gt;
      &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt; 
  </code></pre>
  
  <p>works perfectly</p>
  
  <p>EDIT 1:</p>
  
  <p>I have removed traversal attribute and than got error:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;s:Envelope
      xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
      &lt;s:Body&gt;
          &lt;s:Fault&gt;
              &lt;faultcode
                  xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types"&gt;a:ErrorSchemaValidation
              &lt;/faultcode&gt;
              &lt;faultstring xml:lang="en-US"&gt;The request failed schema validation: The 'FieldURI' attribute is invalid - The value 'item:TextBody' is invalid according to its datatype 'http://schemas.microsoft.com/exchange/services/2006/types:UnindexedFieldURIType' - The Enumeration constraint failed.&lt;/faultstring&gt;
              &lt;detail&gt;
                  &lt;e:ResponseCode
                      xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors"&gt;ErrorSchemaValidation
                  &lt;/e:ResponseCode&gt;
                  &lt;e:Message
                      xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors"&gt;The request failed schema validation.
                  &lt;/e:Message&gt;
                  &lt;t:MessageXml
                      xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"&gt;
                      &lt;t:LineNumber&gt;3&lt;/t:LineNumber&gt;
                      &lt;t:LinePosition&gt;649&lt;/t:LinePosition&gt;
                      &lt;t:Violation&gt;The 'FieldURI' attribute is invalid - The value 'item:TextBody' is invalid according to its datatype 'http://schemas.microsoft.com/exchange/services/2006/types:UnindexedFieldURIType' - The Enumeration constraint failed.&lt;/t:Violation&gt;
                  &lt;/t:MessageXml&gt;
              &lt;/detail&gt;
          &lt;/s:Fault&gt;
      &lt;/s:Body&gt;
  &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>Then I removed last Additional property </p>
  
  <pre><code> &lt;t:FieldURI FieldURI="item:TextBody"&gt;&lt;/t:FieldURI&gt;
  </code></pre>
  
  <p>and finally got this error.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;s:Envelope
      xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
      &lt;s:Header&gt;
          &lt;h:ServerVersionInfo MajorVersion="14" MinorVersion="3" MajorBuildNumber="123" MinorBuildNumber="3" Version="Exchange2010_SP2"
              xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"
              xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"/&gt;
          &lt;/s:Header&gt;
          &lt;s:Body
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
              &lt;m:GetItemResponse
                  xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
                  xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"&gt;
                  &lt;m:ResponseMessages&gt;
                      &lt;m:GetItemResponseMessage ResponseClass="Error"&gt;
                          &lt;m:MessageText&gt;The EWS Id is in EwsLegacyId format which is not supported by the Exchange version specified by your request. Please use the ConvertId method to convert from EwsLegacyId to EwsId format.&lt;/m:MessageText&gt;
                          &lt;m:ResponseCode&gt;ErrorInvalidIdMalformedEwsLegacyIdFormat&lt;/m:ResponseCode&gt;
                          &lt;m:DescriptiveLinkKey&gt;0&lt;/m:DescriptiveLinkKey&gt;
                          &lt;m:Items/&gt;
                      &lt;/m:GetItemResponseMessage&gt;
                  &lt;/m:ResponseMessages&gt;
              &lt;/m:GetItemResponse&gt;
          &lt;/s:Body&gt;
      &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>Please advise.</p>