Page 1 of 1

Connecting to WebDAV Server on localhost?

Posted: Wed Mar 03, 2010 3:44 pm
by mitzy
I'm writing a Java Servlet that is supposed to handle WebDAV Requests. The Server is a Tomcat 5.5 on localhost:8080.
Whenever I try to connect to http://localhost:8080/folder/folder, I keep getting an

Code: Select all

Listing directory failed.

The Log says:

Code: Select all

PROPFIND /test2/server HTTP/1.1[\r][\n]
Authorization: Basic bWl0enk6bnVsbA==[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.4.1 (5780) (Mac OS X/10.5.8) (i386)[\r][\n]
Host: localhost:8080[\r][\n]
Content-Length: 207[\r][\n]
Depth: 0[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
HTTP/1.1 207 Multi-Status[\r][\n]
Server: Apache-Coyote/1.1[\r][\n]
Content-Type: text/xml;charset=utf-8[\r][\n]
Content-Length: 247[\r][\n]
Date: Wed, 03 Mar 2010 15:31:45 GMT[\r][\n]
The HTTP Answer I'm sending out is

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<D:status>HTTP/1.1 200 OK</D:status>
Does anybody know what I'm doing wrong here? Any help would be appreciated!