Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3A5FE2009F9 for ; Mon, 23 May 2016 12:41:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 390F1160A0F; Mon, 23 May 2016 10:41:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 835781609A8 for ; Mon, 23 May 2016 12:41:10 +0200 (CEST) Received: (qmail 59364 invoked by uid 500); 23 May 2016 10:41:09 -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 59353 invoked by uid 99); 23 May 2016 10:41:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2016 10:41:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4E36C1A08F7 for ; Mon, 23 May 2016 10:41:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.301 X-Spam-Level: X-Spam-Status: No, score=0.301 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZETb1MA13rth for ; Mon, 23 May 2016 10:41:08 +0000 (UTC) Received: from plasma5.jpberlin.de (plasma5.jpberlin.de [80.241.58.36]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9A3735F366 for ; Mon, 23 May 2016 10:41:07 +0000 (UTC) Received: from gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) by plasma.jpberlin.de (Postfix) with ESMTP id 56541AEC48; Mon, 23 May 2016 12:41:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from plasma.jpberlin.de ([91.198.250.140]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10024) with ESMTP id jzyV7YVi93Bm; Mon, 23 May 2016 12:41:06 +0200 (CEST) Received: from webmail.jpberlin.de (sinatra9.heinlein-hosting.de [80.241.56.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmueller@jpberlin.de) by plasma.jpberlin.de (Postfix) with ESMTPSA id 163DEAF218; Mon, 23 May 2016 12:41:06 +0200 (CEST) Received: from 8Xfo3UpHXqVHEI9X/iqa5jYrjr7h+JvXTRzF6GgR2Og= (n2MYZ9QGgO9xDhLO9KoVW+3r7fGjt/W9) by webmail.jpberlin.de with HTTP (HTTP/1.1 POST); Mon, 23 May 2016 12:41:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 23 May 2016 12:41:05 +0200 From: =?UTF-8?Q?Florian_M=C3=BCller?= To: dev@chemistry.apache.org Cc: Neza Guillaine Subject: Re: Requesting for help in querying sharepoint 2010 Via CMIS workbench In-Reply-To: References: <573F717B.60000@apache.org> Message-ID: X-Sender: fmui@apache.org User-Agent: RoundCube Webmail archived-at: Mon, 23 May 2016 10:41:11 -0000 Hi Neza, SharePoint 2010 has a few more issues than SharePoint 2013, but it is working too. How do you connect with the CMIS Workbench? Are you using the Basic tab or the Expert tab? I would recommend the Expert tab. Select "SharePoint 2010 AtomPub" and remove this line: > org.apache.chemistry.opencmis.binding.auth.classname=org.apache.chemistry.opencmis.client.bindings.spi.NTLMAuthenticationProvider Queries are POST requests. Can you try a different POST request and see if that is also failing. (For example, try creating a folder.) - Florian > Dear Florian, > > Thanks for the response. > > I am using SharePoint 2010 and the authentication method used is > standard. > I am successfully being authenticated but my queries are the ones > failing. > I had done several other tests with Sharepoint 2013, using the same > authentication method and all of the queries are working perfectly. > However > this seems like a SharePoint 2010 issue. OpenCMIS is configured on the > server side. Unless If I have missed some steps. > > I haven't tried using the Kerberos authentication to see. but when you > say > SharePoint is known to work with basic and Kerberos authentication; are > you > referring to all versions of SharePoint? or just the SharePoint 2013 > server > version? It's very hard for us to migrate all of our data from the 2010 > version to the 2013 version. that's why having opencmis working with > the > Sharepoint 2010 is what we want. especially for querying documents. > > Thank you again for your feedback. > > > > On Fri, May 20, 2016 at 8:20 PM, Florian Müller > wrote: > >> Hi Neza, >> >> SharePoint has its quirks and OpenCMIS provides workarounds for a few >> issues, but in general OpenCMIS is working fine with SharePoint. >> >> What authentication method are you using? >> Basic authentication and Kerberos are known to work (if correctly >> configured on the server side). >> NTLM is not working. At first glance it seem to work, but eventually >> HTTP POST requests (like query) will fail. >> >> >> - Florian >> >> >> > Hi Devs and Florian, >> > >> > My name is Neza. I am writing request for your help in cmis. >> > I had tried using cmis workbench to query documents from the alfresco >> side >> > and it work perfectly, but when I moved to the sharepoint side, every >> > single thing i do in my query return a: Runtime: Unauthorized exception. >> IT >> > seems that queried from sharepoint are not being interpreted. Even if I >> do >> > something very basic lile: >> > >> > SELECT * from cmis:document. >> > >> > This have been running me crazy, I googled alot around since monday and >> did >> > not et any answer to my case. A few suggestions but nothing let me to the >> > solution. >> > >> > If you have already encountered this issue or can provide help, I would >> > appreciate. >> > My cmis workbench is: 0.13.0 and SP 2010. >> > >> > Regards, >> > Neza >> > >>