try {
String wspHref = uriResolver.getWorkspaceUri(srcWorkspaceName);
Element mElem = MergeInfo.createMergeElement(new String[] {wspHref}, bestEffort, false, domFactory);
MergeInfo mInfo = new MergeInfo(mElem);
MergeMethod method = new MergeMethod(getItemUri(nodeId, sessionInfo), mInfo);
execute(method, sessionInfo);
MultiStatusResponse[] resps = method.getResponseBodyAsMultiStatus().getResponses();
List failedIds = new ArrayList(resps.length);
for (int i = 0; i < resps.length; i++) {
String href = resps[i].getHref();
failedIds.add(uriResolver.getNodeId(href, sessionInfo));
}