Article ID: 956775 - Last Review: October 7, 2008 - Revision: 1.1

CopyItem and MoveItem operations in Exchange Web Services can return the Item ID after you install Update Rollup 4 for Exchange Server 2007 Service Pack 1

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

Introduction

This article discusses a feature that is available after you install Update Rollup 4 for Exchange Server 2007 Service Pack 1. The feature enables the CopyItem operation and the MoveItem operation in Exchange Web Services to return the Item ID.

MORE INFORMATION

To enable this feature, install Update Rollup 4 for Exchange Server 2007 Service Pack 1.

For more information about Update Rollup 4 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic:
Description of Update Rollup 4 for Exchange Server 2007 Service Pack 1 (http://go.microsoft.com/fwlink/?LinkId=152556)
For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007 (http://go.microsoft.com/fwlink/?LinkId=152570)

After you install Update Rollup 4 for Exchange 2007 SP1, a successful response to the MoveItem operation or to the CopyItem operation includes the ID of the item that was copied or the ID of the item that was moved. The following is a sample response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
               xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Header>
    <t:ServerVersionInfo MajorVersion="8" MinorVersion="0" MajorBuildNumber="595" MinorBuildNumber="0" 
                         xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" />
  </soap:Header>
  <soap:Body>
    <CopyItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" 
                      xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" 
                      xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <m:ResponseMessages>
        <m:CopyItemResponseMessage ResponseClass="Success">
          <m:ResponseCode>NoError</m:ResponseCode>
          <m:Items>
              <t:Item>
                <t:ItemId Id="..." ChangeKey="..." />
              </t:Item>
          </m:Items>
        </m:CopyItemResponseMessage>
      </m:ResponseMessages>
    </CopyItemResponse>
  </soap:Body>
</soap:Envelope>
For more information about the CopyItem operation, visit the following Web site:
http://msdn.microsoft.com/en-us/library/aa565012(EXCHG.80).aspx (http://msdn.microsoft.com/en-us/library/aa565012(EXCHG.80).aspx)
For more information about the MoveItem operation, visit the following Web site:
http://msdn.microsoft.com/en-us/library/aa565781(EXCHG.80).aspx (http://msdn.microsoft.com/en-us/library/aa565781(EXCHG.80).aspx)

APPLIES TO
  • Microsoft Exchange Server 2007 Service Pack 1, when used with:
    • Microsoft Exchange Server 2007 Enterprise Edition
    • Microsoft Exchange Server 2007 Standard Edition
Keywords: 
kbhotfixrollup kbfix kbexpertiseadvanced kbqfe KB956775