The range-header is a MS specific webdav extenstion and not part of the DASL standard. So if you want to take advantage of this feature, you need to subclass the Search-Method in the clientlib and add the range header fields. This should be no big deal. It might be a good idea to add the range capabilities to the clientlib, but I'm not sure about it as long as the Slide server is not supporting this feature.
Cheers, Daniel "Slide Users Mailing List" <[email protected]> schrieb am 11.05.05 09:45:34: > > Yes. The first 9 messages. > I am interested on how can i implement this in java using Slide Webdav to > retrieve from > an exchange server only the messages in a specified range. > > Thank you, > > Attila > ----- Original Message ----- > From: "Mark Breitner" <[EMAIL PROTECTED]> > To: "Slide Users Mailing List" <[email protected]> > Sent: Wednesday, May 11, 2005 9:38 AM > Subject: Re: Help please > > > > What do you mean by range ? The first 9 messages ? > > > > > > > Hello, > > > > > > Is there any way implementing this in Java using Slide Webdav? > > > > > > Sub getMessages_OnClick() > > > strUsername = document.all.mailbox.value > > > If strUsername <> "" Then > > > strInboxURL = strProtocol & "://" & strServername & "/Exchange/" > > > strInboxURL = strInboxURL & strUsername & "/" & strInbox > > > Set objXMLHTTP = CreateObject("Microsoft.XMLHTTP") > > > objXMLHTTP.Open "SEARCH", strInboxURL, True > > > objXMLHTTP.setRequestHeader "Content-type:", "text/xml" > > > objXMLHTTP.setRequestHeader "Depth", "1" > > > objXMLHTTP.onReadyStateChange = getRef("checkXMLHTTPState") > > > strXML = "<?xml version='1.0' ?>" & _ > > > "<a:searchrequest xmlns:a='DAV:'><a:sql>" & _ > > > "SELECT" & _ > > > " ""DAV:href""" & _ > > > ",""urn:schemas:httpmail:subject""" & _ > > > " FROM scope('shallow traversal of """ & strInboxURL & """')" & > _ > > > " WHERE ""DAV:ishidden""=False" & _ > > > " AND ""DAV:isfolder""=False" & _ > > > "</a:sql></a:searchrequest>" > > > objXMLHTTP.SetRequestHeader "Range", "rows=0-9" > > > objXMLHTTP.Send(strXML) > > > End If > > > End Sub > > > > > > I'm specially interested in this section: > > > objXMLHTTP.SetRequestHeader "Range", "rows=0-9" > > > > > > What i try to do is to get only the messages in a specified range from > an > > > exchange server. > > > > > > Thank you in advance, > > > > > > Attila > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > > +++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++ > > Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
