Using the WebDAV Protocol

Using the WebDAV Protocol

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. This section describes how to access Microsoft Exchange store content using the WebDAV protocol.

Many of the examples in this section use an instance of the Microsoft.XMLHTTP Component Object Model (COM) class to send and receive WebDAV requests to the Exchange store. In addition, many examples use an instance of the Microsoft.XMLDOM COM component to construct and manipulate the XML bodies that are used for WebDAV protocol requests. The XMLHTTP COM object is part of the Microsoft XML (MSXML) 2.0 or later COM component and integrates directly with the other components. For example, you can retrieve the XML body of a successful PROPFIND Method directly from the XMLHTTP object as a DOMDocument object.

Use the XMLHTTP COM class only on clients. If you are creating applications on the server where the Exchange store is located, use the ServerXMLHTTP COM class or the Exchange OLE DB (ExOLEDB) provider.

When manually constructing the XML body of a WebDAV request, caution must be used with certain characters. Some special characters are reserved for use by XML, so they cannot be directly used in the XML text. These characters, <, &, >, ", and ', must be substituted with the following character codes, respectively: &lt;, &amp;, &gt;, &quot;, and &apos;.

See Authentication and Security Using WebDAV for more information.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.