PSS ID Number: 323554
Article Last Modified on 6/26/2002
The information in this article applies to:
- Microsoft Exchange 2000 Server
This article was previously published under Q323554
SUMMARY
In the Microsoft Exchange 2000 Server Software Development Kit (SDK) March 2002 Edition documentation, the World Wide Web Distributed Authoring and Versioning (WebDAV) LOCK method sample is incorrect. When you use the sample, you receive the following error message:
The LOCK method sample is located under the following topics in the Exchange 2000 Server SDK March 2002 Edition documentation:
- Reference
- ** Exchange Store
- *** WebDAV Reference
- **** Exchange Store WebDAV Protocol
- ***** WebDAV Methods
- ****** LOCK Method
- ***** WebDAV Methods
- **** Exchange Store WebDAV Protocol
- *** WebDAV Reference
MORE INFORMATION
The sample in the "Transactions" section of the LOCK method documentation appears as follows:
<?xml version="1.0" ?> <D:lockinfo xmlns:D="DAV:"> <D:lockscope><D:local/></D:lockscope> <D:locktype> <D:transaction><D:local/></D:transaction> </D:locktype> <D:owner> <D:href>http://www.contoso.com/public/contact.html</D:href> </D:owner> </D:lockinfo>
You receive the error message that is listed in the "Summary" section because the only transaction locktype that is supported is groupoperation. To correct this problem, use the following code:
<?xml version="1.0" ?> <D:lockinfo xmlns:D="DAV:"> <D:lockscope><D:local/></D:lockscope> <D:locktype> <D:transaction><D:groupoperation/></D:transaction> </D:locktype> <D:owner> <D:href>http://www.contoso.com/public/contact.html</D:href> </D:owner> </D:lockinfo>
The fifth line of code is incorrect in the Exchange 2000 Server SDK March 2002 Edition documentation:
<D:transaction><D:local/></D:transaction>
The correct code is as follows:
<D:transaction><D:groupoperation/></D:transaction>
This error occurs again two times in the third sample: first in the "Request" section, and then again in the "Response" section.
This bug is fixed in the Microsoft Exchange 2000 Server SDK June 2002 Edition.
Keywords: kbbug kbdocerr KB323554
Technology: kbExchange2000Search kbExchange2000Serv kbExchangeSearch