Never mind :) I got the correct usage ... reportMethod(URL, PropertyVectory, Depth) returns the value! On to parsing it ....
Thanks Karthik ----- Original Message ----- From: "kranga" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 2004 5:36 PM Subject: REPORT method to find labeled version > I'm using reportMethod() and passing in a set of history hrefs and a > collection url thus producing a request of the form: > > REPORT /slide/files HTTP/1.1 > <stuff> > > <?xml version="1.0" encoding="utf-8" ?> > <D:locate-by-history xmlns:D="DAV:"> > <D:version-history-set> > <D:href>/slide/history/1/1.1</D:href> > <D:href>/slide/history/1/1.2</D:href> > <D:href>/slide/history/1/1.3</D:href> > <D:href>/slide/history/1/1.4</D:href> > </D:version-history-set> > <D:prop> > <D:label-name-set /> > </D:prop> > </D:locate-by-history> > > > The server response is: > HTTP/1.1 409 Conflict > <?xml version="1.0" encoding="UTF-8"?> > <D:error xmlns:D="DAV:"> > <D:must-be-version-history /> > </D:error> > > If in the above request, I specify that actual file - REPORT > /slide/files/readme.txt, then I get the error: > HTTP/1.1 400 Bad Request: the request-URI must specify a collection > <?xml version="1.0" encoding="UTF-8"?> > <D:error xmlns:D="DAV:"> > <D:must-be-collection /> > </D:error> > > This is urgent. I really need to figure this out. I'm doing a > proof-of-concept to see if slide will be a good fit. It also seems like > finding a version with a particular label should be a supported operation. > The following site tells me my initial request is correct. Is there a bug in > slide? > > http://www.zvon.org/tmRFC/RFC3253/Output/chapter5.html > > Thanks > Karthik > > > --------------------------------------------------------------------- > 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]
