Hello Mihir,
Here is the search procedure for web folders interface (I�ve took the
trouble to exam the http requests/responses from the web folder to the slide
server and vice-versa; I�m using the 2.1M1 slide distribution so take care
if something does not work for you):
1)
web folder requests the OPTIONS command
slide responds with code 200 (OK) and a number of supported
operations/features in it�s body. Of relevance:
DAV: 1, 2, slide, access-control, binding
DAV: version-control, version-history, checkout-in-place
DAV: workspace, working-resource, update, label
Allow: PROPPATCH, COPY, DELETE, POST, GET, REPORT, PROPFIND, PUT, UNBIND,
MOVE, UNLOCK, TRACE, OPTIONS, HEAD, ACL, LOCK, BIND, CONNECT, REBIND, SEARCH
DASL: <DAV:basicsearch>
As you can see, slide offers DASL-almost-dav-search-standard for searching
the slide repository. Anyway, web folders interface doesn�t recognize it, so
it doesn�t use it�
2)
web folder requests the OPTIONS command on the first collection (directory)
in the search root.
slide returns a multistatus message (code 207), witch returns a number of
properties on the collection itself, including lock capabilities and some
other dav properties like <href> and <displayname>
3)
web folder requests a propfind on first collection in the search root with
depth 0.
Slide returns a multistatus message with all set and unset properties
(watch out for the spam). take a time to examine, u can learn some stuff
from these messages:
HTTP/1.1 207 Multi-Status
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 01:00:00 GMT
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Tue, 21 Sep 2004 10:11:27 GMT
Server: Apache-Coyote/1.1
485
<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response xmlns:D="DAV:">
<D:href>/slide/files/maisis</D:href>
<D:propstat>
<D:prop>
<D:creationdate>2004-09-20T17:08:26Z</D:creationdate>
<D:getlastmodified>Mon, 20 Sep 2004 17:08:26
GMT</D:getlastmodified>
<D:getcontentlength>0</D:getcontentlength>
<D:displayname>maisis</D:displayname>
<D:resourcetype>
<D:collection />
</D:resourcetype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:name />
<D:parentname />
<D:href />
<D:ishidden />
<D:isreadonly />
<D:getcontenttype />
<D:contentclass />
<D:getcontentlanguage />
<D:lastaccessed />
<D:iscollection />
<D:isstructureddocument />
<D:defaultdocument />
<D:isroot />
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
12
</D:multistatus>
This message clearly states that properties creationdate, getlastmodified,
getcontentlength, displayname and resourcetype had content, while all the
others were �not found�, that means that slide does not support those
properties, at least for collection resource types.
4)
web folder requests a propfind on first collection in the search root with
depth 1 to all properties, found or not found in previous slide response.
Slide returns again a multistatus message with same content as previous
response (the collection was empty)
5)
web folder repeats this procedure of steps 3 and 4 for every folder in the
root search, and if it finds descendant collections it�s child collection,
it navigates to these before move to the next child collection
if the collection wasn�t empty, the <multistatus> xml element contains
multiple <response> xml elements, one for each child resource, being it file
or collection types, in witch request properties are returned or �not found�
if not supported or not set by slide.
Well, it�s a pretty straightforward method I guess� I only tried to search
for names in the displayname properties, but I doubt web folder examines the
other attributes�
Hope this helps,
Miguel Figueiredo
_____
From: Mihir Solanki [mailto:[EMAIL PROTECTED]
Sent: ter�a-feira, 21 de Setembro de 2004 9:14
To: 'Slide-Mailing'
Subject: Search through windows XP
Hi all,
I am using slide 2.0 binary deployed in tomcat.
I want to know one thing regarding the search functionality of windows XP
for slide network place.
When I perform search operation (windows XP search) on the slide repository
through network place
What WebDAV method is getting executed?
Can anybody tell me what will be the steps windows perform during search for
slide?
Is it such that windows first performs its own search utility and then uses
PROPFIND method to show the results?
Thanks in advance�
Mihir
Sr. Software Engineer
eBiz, Gandhinagar
"Imaginations... its limits are only those of the mind itself"
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to whom this
message was originally addressed. Any review, e-transmission dissemination
or other use of or taking of any action in reliance upon this information by
persons or entities other than the intended recipient is prohibited. If you
have received this e-mail in error kindly delete this e-mail from your
records. If it appears that this mail has been forwarded to you without
proper authority, please notify us immediately at [EMAIL PROTECTED] and
delete this mail.
_____________________________________________________________________