다음을 통해 공유


Server Has No Changed Items for the Client

Topic Last Modified: 2006-06-12

In this scenario, the client requests an updated manifest from the server by passing its previous collblob, and the server has no changed items to report to the client. In effect, the manifest returned by the server is empty, and the client already has an updated collblob. Under these circumstances, the server returns an empty repl XML Element as a child of the multistatus XML Element. If the client receives an empty repl XML Element from the server, the client should assume that the manifest is empty or that there are no new items that match the criteria.

Request

SEARCH /exchange/user0/inbox HTTP/1.1
Host: example.com
Content-type: text/xml
Content-length: {insert length here}

<?xml version="1.0"?>
<D:searchrequest xmlns:D="DAV:"
    xmlns:R="https://schemas.microsoft.com/repl/"
    xmlns:M="urn:schemas:mail:">
    <R:repl>
    <R:collblob>clientopaquedata</R:collblob>
    </R:repl>
    <D:sql>
    SELECT 'urn:schemas:mail:Size', 'urn:schemas:mail:Importance',
               'https://schemas.microsoft.com/repl/resourcetag'
        FROM SCOPE ('SHALLOW TRAVERSAL OF "/exchange/user0/inbox"')
    </D:sql>
</D:searchrequest> 

Response

HTTP/1.1 207 Multi-Status
Content-type: text/xml
Content-length: {insert length here}

<?xml version="1.0"?>
<D:multistatus xmlns:D="DAV:"
    xmlns:R="https://schemas.microsoft.com/repl/"
    xmlns:M="urn:schemas:mail:">
    <R:repl></R:repl>
</D:multistatus>