Hi. Using the client API to try and create a user (inspired by the
creating users howto):
public void createUser(String name) throws IOException {
WebdavResource wdr = new WebdavResource(http, USER_BASE);
wdr.mkcolMethod("something");
WebdavResources res = wdr.getChildResources();
Enumeration e = res.getResourceNames();
while(e.hasMoreElements()) {
String s = (String)e.nextElement();
System.out.println("--> "+s);
}
wdr.close();
}
This outputs:
--> john2
--> root
--> john
--> guest
--> projector
And not the newly created collection "something"- what am I doing wrong?
There's nothing suspicious in the log.
Br,
Morten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]