XcapUri xcapUri = new XcapUri(uri, _xcapService.getRootName());
// Listen for changes for this resource.
addXcapRessource(xcapUri);
XcapResource xcapResource = _xcapService.getResource(xcapUri, false, null, null);
NodeList nodes = xcapResource.getSelectedResource().getDom().getChildNodes();
for (int j = 0; j < nodes.getLength(); j++)
{
Node node = nodes.item(j);
if ("entry".equals(node.getLocalName()))
{