Hi, I am trying to get the document based on a Label. I have document present with label as "Production". In order to get the history, I am using ReportMethod of WebDavResource. Parameters passed to the report Method are httpURL = http://localhost:8080/slide propertyNames = Vector containing D:version-history HistUrls = vector containing /history/Production. When I execute the method, I get status as REPORT, 409 "Conflict", Can any one point me what I may be doing wrong ? Here is the code snippest. HttpUrl httpUrl = new HttpUrl("http://localhost:8080/slide"); WebdavResource webdavResource = new WebdavResource(httpURL); Vector properties = new Vector(); properties.add("D:version-history"); Vector histUrls = new Vector(); histUrls.add("/history/Production"); Enumeration enum = webdavResource.reportMethod(httpURL, properties, histUrls, 1); System.out.println("Enum " + enum); while (enum.hasMoreElements()) { System.out.println("Enum " + enum.nextElement()); } Thanks in advance, Son. "Nevermann, Dr., Peter" <[EMAIL PROTECTED]> wrote: Currently, in Slide the Label: header is implemented as specified in RFC3253 from March 2002. Thanks, Julian, for pointing out this. We will take care of the new DAV:labeled-version report soon.
Regards, Peter > -----Original Message----- > From: Julian Reschke [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 09, 2003 20:30 > To: Slide Users Mailing List > Subject: RE: Questions about client side API for versioning and > Labelling. > > > Note that the Label: header is deprecated and will be removed > in a future > revision of the protocol. > > Check out the new DAV:labeled-version report [1] for an alternative > approach. > > Julian > > > [1] > > oning-xx.6.htm > #_Toc13053962> > > -- > bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760 > > > -----Original Message----- > > From: Ingo Brunberg [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 09, 2003 7:03 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Questions about client side API for versioning and > > Labelling. > > > > > > I haven't done this either, but according to the Delta-V specs you > > should be able to retrieve a specific version of a document by > > including the version number or label in a GET request. I don't know > > if Slide supports this, but the client API definitely provides no > > direct implementation of such an extended getMethod. > > > > Regards, > > Ingo > > > > >Excuse me, I can't tell you. I haven't done this. > > > > > >Andreas > > > > > > > > >On 9 Jan 2003 at 7:51, Son Singh wrote: > > > > > >> > > >> Hi Andreas, > > >> Thanks for your help. > > >> Now I can get all the versions of a given document as well as > > >> entire history of a given document. Still have a question > > >> regarding getting document based on label. If label name is > > >> "PRODUCTION", how do I get the document corresponding to > > >> "PRODUCTION". Thanks, -Son. > > >> Andreas Probst wrote:I forgot one thing: > > >> There is no ONE VCR that belongs to a VR. > > >> There could be several VCR's which have the same VHR and VR's. > > >> > > >> Happy New Year! > > >> > > >> Andreas > > >> > > >> > > >> On 31 Dec 2002 at 10:41, Andreas Probst wrote: > > >> > > >> > Hi Son, > > >> > > > >> > I'd recommend the DeltaV spec > > >> > (http://www.ietf.org/rfc/rfc3253.txt). > > >> > > > >> > Please, see intermixed. > > >> > > > >> > > > >> > On 30 Dec 2002 at 13:18, Son Singh wrote: > > >> > > > >> > > > > >> > > Hi, > > >> > > > > >> > > I have been using Slide 1.0.16 from sometime. I have started > > >> > > using Slide 2.x recently. I was successfully able to > > >> > > configure slide for auto versioning. Now the question comes > > >> > > here. > > >> > > > > >> > > 1. How do I get all the versions for a given document ? Is > > >> > > there a client side API which can accomplish this ? > > >> > > > >> > For each version-controlled resource (VCR) there is a directory > > >> > (version history resource - VHR) below /history. The first VCR > > >> > gets the 1, the second the 2 and so on. The version resource > > >> > (VR) gets number 1.0, 1.1 and so on. So the first VR of the > > >> > first VCR is identified by the URI /history/1/1.0. > > >> > > > >> > One of the following two properties DAV:checked-in or > > >> > DAV:checked-out is set on each VCR. It gives you the path to > > >> > the current VR of the VCR. (pages 21-23 of DeltaV spec) > > >> > > > >> > > > > >> > > 2. How do I get different labels associated to a document ? > > >> > > > > >> > > 3. How to retrieve the document of a given version number / > > >> > > label. > > >> > Use the DAV:locate-by-history Report (DeltaV spec p43) > > >> > > > >> > > > > >> > > Any help / pointers will be highly appreciated. > > >> > > > > >> > > Thanks in advance, > > >> > > > > >> > > Son. > > >> > > > > >> > > > > >> > > > >> > Andreas > > > > > > -- > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > > > > > -- > To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now