Hi All,

I am using the Slide 2.1M1 WebDAV client to access a Slide WebDAV repostitory to add users to the WebDAV repository. I can create users using the MKCOL method via the client, but when I attemp to set the password property I get the following in the log file:

http-8080-Processor2, 27-Jul-2004 16:19:02, system, PROPPATCH, 400 "Bad Request", 40 ms, /users/ricardo5

Here is a fragment of the code I use to set the property:

HttpURL url = new HttpURL(webdavUrl+path);
url.setUserinfo(webdavUser,webdavPassword);
WebdavResource res = new WebdavResource(url);
PropertyName name = new PropertyName("http://jakarta.apache.org/slide/","password";);
if(!res.proppatchMethod(name,user.getPassword(),true)) {
throw new WebdavException("Error setting password for user=[/users/"+user.getUserName()+"]");
}
}


Any ideas what I am doing wrong?

Kind regards...

--
Ricardo Gladwell

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



Reply via email to