Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 003A78853 for ; Tue, 13 Sep 2011 15:45:34 +0000 (UTC) Received: (qmail 35748 invoked by uid 500); 13 Sep 2011 15:45:33 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 35679 invoked by uid 500); 13 Sep 2011 15:45:33 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 35499 invoked by uid 99); 13 Sep 2011 15:45:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 15:45:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 15:45:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3970595C78 for ; Tue, 13 Sep 2011 15:45:09 +0000 (UTC) Date: Tue, 13 Sep 2011 15:45:09 +0000 (UTC) From: "Jonathan Lapointe (JIRA)" To: dev@chemistry.apache.org Message-ID: <337722967.22401.1315928709231.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1997552084.18684.1315856949230.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CMIS-430) Server-Binding - Children.DeleteTree does not work with Rest-Atom MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-430?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D131037= 04#comment-13103704 ]=20 Jonathan Lapointe commented on CMIS-430: ---------------------------------------- Thanks for the quick reply.=20 I have implemented getDescendants and getFolderTree and still the REST clie= nt API do this http call=20 DELETE /cmissvr/atom/racineMcccf/children?id=3D9e825c And since it is not mapped by CmisAtomPubServlet it is still not working I do not see how the client API could make a different call knowing that I = have implemented getDescendant and getFolderTree. And I don't understand why if my implementation does not concur with the CM= IS spec, it is working with the WebService binding. > Server-Binding - Children.DeleteTree does not work with Rest-Atom > ----------------------------------------------------------------- > > Key: CMIS-430 > URL: https://issues.apache.org/jira/browse/CMIS-430 > Project: Chemistry > Issue Type: Bug > Components: opencmis-server > Affects Versions: OpenCMIS 0.4.0, OpenCMIS 0.5.0 > Environment: Windows XP, JDK 1.6, Tomcat 6 > Reporter: Jonathan Lapointe > Assignee: Florian M=C3=BCller > Labels: 405-error, atompub, binding, opencmis, rest > Attachments: CmisAtomPubServlet.java > > Original Estimate: 24h > Remaining Estimate: 24h > > We have developed a CMIS server using OpenCMIS-Server (Maven overlay).=20 > When testing the service using CMIS workbench 0.4.0 while connected with = AtomPub, The operation DeleteTree on a folder returns 405-Method not allowe= d. > Workbench issue a http request like this DELETE /cmissvr/atom/racineMcccf= /children?id=3Dxxx > 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 inv= oked -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira