You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Robert Geisler <ge...@gmx.de> on 2006/06/02 17:35:57 UTC
Request content missing in propfindMethod when constructing
WebdavResource
Hi,
I have a problem with the WebDavClient Library. When trying to construct a WebdavResource, I get an Exception:
Code:
HttpURL url = new HttpURL("http://myserver:8080/slide/");
url.setUserinfo("user", "pwd");
WebdavResource wdr = new WebdavResource(url);
Client Exception:
org.apache.commons.httpclient.HttpException
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3467)
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3423)
at org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:967)
at org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.java:912)
at org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java:1894)
at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1301)
at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:275)
Server Exception:
http-8080-Processor25, 02-Jun-2006 11:54:44, root, PROPFIND, 400 "Bad Request",
"Bad Request: Request content missing", 0 ms, /
Client: Jakarta WebDav Client 2.1
Server: jakarta-slide-2.1-tomcat-5.0.28
I found an issue in the slide bugzilla (http://issues.apache.org/bugzilla/show_bug.cgi?id=39220), but the proposed patch did not solve the problem.
any help would be appreciated
best regards
Robert
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Request content missing in propfindMethod when constructing WebdavResource
Posted by Tassos Bassoukos <ab...@gmail.com>.
I had the same problem, and my solution was to downgrade
commons-httpclient from version 3.0 to 2.0.2. It seems that slide-2.1
is incompatible with 3.0 for some reason.
HTH,
Tassos Bassoukos
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org