I solved the problem, thanks a lot, it was a wrong HttpUrl.


thanks again.

Stan.

At 11:34 03/09/2003 +0200, you wrote:

Hi Stan,

I have tried this kind of REPORT (version-tree) and it works for
me. The only problem on the client side could be your HttpURL. There
is a problem if you write this:

new HttpURL(hostPort, path)

instead of

new HttpURL(hostPort + path)

Before you are going to capture a tcp trace as suggested by Peter,
please check what the getEscapedPath() method of your HttpURL object
returns.

Btw., why do you path a depth of 2 to the method? It should be one of
DepthSupport.DEPTH_0, DepthSupport.DEPTH_1 or
DepthSupport.DEPTH_INFINITY.

Regards,
Ingo

> hello,
>
> I am trying to get the current version of a version controlled resource by
> doing the following stuff:
>
> Enumeration report = resource.reportMethod(new HttpURL(hostPort + path),
> 2);
>
>          while (report.hasMoreElements())
>          {
>              Object element = report.nextElement();
>              System.out.println(element);
>          }
>
> however, I always receive a
>
> PoolThread-8, 02-Sep-2003 17:54:12, , REPORT, 404 "Not Found", 10 ms,
> /slide/files/test/one.xml
>
> while the file is there...
>
> any idea?
>
> thanks a lot,
>
> Stan.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




-- Incoming mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.167 / Virus Database: 259.11.3 - Release Date: 19/08/2003


--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.167 / Virus Database: 259.11.3 - Release Date: 19/08/2003



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to