W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2002

FW: [Moderator Action] Webdav Search with IIS

From: Jim Whitehead <ejw@cse.ucsc.edu>
Date: Thu, 28 Mar 2002 20:49:23 -0800
To: "WebDAV" <w3c-dist-auth@w3.org>
Webdav Search with IISAccidentally caught by the spam filter.

- Jim
-----Original Message-----
From: Thomas Fritz [mailto:Thomas.Fritz@da-ag.com]
Sent: Wednesday, March 27, 2002 11:23 PM
To: w3c-dist-auth@w3.org
Subject: [Moderator Action] Webdav Search with IIS

I want to search for file properties with WebDAV on the Internet Information
Services (together with Indexing Service).

Unfortunately in the MSDN there is no real documentation for WebDAV Search
Requests for the IIS only for the SharePoint Portal Server. Does anyone know
a good reference for such search requests especially for the 'WHERE'-clause,
because the results I got for my attempts are very curious.

For example the code:
var sQuery = "Select DAV:displayname, DAV:creationdate FROM SCOPE() WHERE
not(\"DAV:getcontentlength\" != 1039)";

var oXML = new ActiveXObject('Msxml2.XMLHTTP.4.0');

oXML.send('<?xml version="1.0"?><g:searchrequest xmlns:g="DAV:"><g:sql>' +
sQuery + '</g:sql></g:searchrequest>');


supplies the correct result with status 207 in the response but if I change
the 'sQuery' to:
var sQuery = "Select DAV:displayname, DAV:creationdate FROM SCOPE() WHERE
(\"DAV:getcontentlength\" = 1039)";
I only get an empty response with status 207.

Furthermore I do not know how to query a special creationdate or collections
and so on...

Can anyone help me?

Thomas Fritz
Received on Thursday, 28 March 2002 23:49:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:25 UTC