We have developed a CMIS server using OpenCMIS-Server (Maven overlay).
When testing the service using CMIS workbench 0.4.0 while connected with AtomPub, The operation DeleteTree on a folder returns 405-Method not allowed.
Workbench issue a http request like this DELETE /cmissvr/atom/racineMcccf/children?id=xxx
Execution of the TCK results in the same error.
There is no error while connected with WebService's bindings
Adding this line in CmisAtomPubServlet.init resolve the issue:
dispatcher.addResource(AtomPubUtils.RESOURCE_CHILDREN, Dispatcher.METHOD_DELETE, ObjectService.class, "deleteTree");
Note: We have not implemented the "Descendants" capabilities, maybe this is the reason that Descendants/DELETE (ObjectService.deleteTree) is not invoked