DavPropertyNameSet names = new DavPropertyNameSet();
names.add(BindConstants.RESOURCEID);
PropFindMethod propfind = new PropFindMethod(uri, names, 0);
int status = this.client.executeMethod(propfind);
assertEquals(207, status);
MultiStatus multistatus = propfind.getResponseBodyAsMultiStatus();
MultiStatusResponse[] responses = multistatus.getResponses();
assertEquals(1, responses.length);
DavProperty resourceId = responses[0].getProperties(200).get(BindConstants.RESOURCEID);
assertNotNull(resourceId);
assertTrue(resourceId.getValue() instanceof Element);
Element href = (Element)resourceId.getValue();