Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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: For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
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:For more information about the MoveItem operation, visit the following Web site:

↑ Back to the top


Keywords: KB956775, kbqfe, kbexpertiseadvanced, kbfix, kbhotfixrollup

↑ Back to the top

Article Info
Article ID : 956775
Revision : 2
Created on : 10/7/2008
Published on : 10/7/2008
Exists online : False
Views : 394