11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.21.2 Response<br />

The following example shows the Settings command response (section 2.2.2.16.2) sent from the<br />

server to the client. A settings:Status element (section 2.2.3.152.14) value of 1 indicates that the<br />

password was set successfully.<br />

<br />

<br />

1<br />

<br />

<br />

...<br />

<br />

<br />

<br />

4.22 Accessing Documents on File Shares and URIs by Using the Search and<br />

ItemOperations <strong>Command</strong>s<br />

The following sections show how to retrieve an item from a Windows® SharePoint® Services or UNC<br />

site.<br />

First, the client issues a Search command request (section 2.2.2.14.1), indicating the link to the<br />

folder. The server will return folder/item metadata, indicating the ID, file name, size, creation date,<br />

last modified date, whether the item is a folder, and whether the item is hidden. For instructions on<br />

completing this task, see section 4.22.1.<br />

Next, the client issues an ItemOperations command request (section 2.2.2.8.2), including the ID<br />

from the item metadata. For instructions on completing this task, see section 4.22.2.<br />

In issuing the ItemOperations command request, the following are considerations for the client<br />

pertaining to the size of the file to be retrieved:<br />

•Does the client want to have the item content returned inline in the WBXML, or as separate body<br />

parts in the HTTP response Using WBXML might be easier to implement, but might consume<br />

more memory on the device, depending on how the response parser on the device is<br />

implemented.<br />

•What is the maximum number of bytes of item content that the client wants to have returned in<br />

one response (Successive requests can be used to obtain the remaining content.)<br />

The following figure shows the request and response pattern that is used to find and retrieve an<br />

item located on a Windows SharePoint Services or UNC site.<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011<br />

332 / 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!