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 E6CD711400 for ; Wed, 17 Sep 2014 07:27:50 +0000 (UTC) Received: (qmail 54302 invoked by uid 500); 17 Sep 2014 07:27:50 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 54249 invoked by uid 500); 17 Sep 2014 07:27:50 -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 54235 invoked by uid 99); 17 Sep 2014 07:27:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2014 07:27:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of joshymaugustine@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-wg0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2014 07:27:46 +0000 Received: by mail-wg0-f47.google.com with SMTP id l18so42905wgh.18 for ; Wed, 17 Sep 2014 00:27:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wUi4KTx+xz3867dwLMjo0qNO0FnOO4kG0t8ofS50fdc=; b=bSMYam9W986id0gadI62U3KbLNpa4OvaNgEeSjxCqJSWFjobmdGZ74d92c06QFDJwO OJl7WT5ElQYBb3iSnZv2w2DdwzagpdZtnIuxbOgTSzCmO96EP/9pdJ5+541kd22YH0gk 0EItC2hDwytpxr6YMdp4rqAEbgDKeZ0yYnCMuaqhDdZWEJHX5c+DEp53tlIasSZeNx3g dMOlw4UoY3ypGzHeFL4qOVzk3t1A5jhCJfSJGAGqpkjkP055mfxfGoK2ZUzri4mKiy0p t3WeHxwxISFxaNt28W+HEweuFjq3SHB2a58poPWuAOQp7zvwDQ2HvTYe8l0+zDmArreS IqKg== MIME-Version: 1.0 X-Received: by 10.180.80.38 with SMTP id o6mr3564527wix.19.1410938845095; Wed, 17 Sep 2014 00:27:25 -0700 (PDT) Received: by 10.194.5.104 with HTTP; Wed, 17 Sep 2014 00:27:25 -0700 (PDT) In-Reply-To: References: <771668354.102096.1410797984534.open-xchange@app05.ox.hosteurope.de> <155713D1CB3F8C40B8D64251346073789C3F21E2@S-DC-ESTD03-B.net1.cec.eu.int> Date: Wed, 17 Sep 2014 08:27:25 +0100 Message-ID: Subject: Re: Open CMIS and https From: Joshy Augustine To: "dev@chemistry.apache.org" Content-Type: multipart/alternative; boundary=f46d0418263ea96dc305033dccf8 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0418263ea96dc305033dccf8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks a ton! Version of the remote alfresco server I am using is :Community - v4.2.0 (4480). The URL you suggested works beautifully. I was heading in the wrong direction thinking that this was a https configuration issue! Cheers, Joshy On Tue, Sep 16, 2014 at 9:14 PM, Gavin Cornwell wrote: > Hi Joshy, > > What version of Alfresco Community are you using? Only 4.2f and later > support that URL pattern, trying that URL against an older server will gi= ve > you the result you=E2=80=99re seeing. > > Try using https://cmis-alfresco:8443/alfresco/cmisatom instead. > > Regards, > > Gavin > > > > On 16 Sep 2014, at 11:09, Joshy Augustine > wrote: > > > Thanks Florian & Jorge. > > > > Apologies if this is an alfresco question. I am using the URL > > > https://cmis-alfresco:8443/alfresco/api/-default-/public/cmis/versions/1.= 0/atom > > to connect to an alfresco community instance running in https mode. I a= m > > using Http Basic Authentication. > > > > However, using the Workbench, Open CMIS API as well as from the browser= , > I > > am getting the following webpage when I try to connect. > > > > "Hi, you have reached the AXIS HTTP Servlet. Normally you would be > hitting > > this URL with a SOAP client rather than a browser. > > > > In case you are interested, my AXIS transport name appears to be > '*http*' " > > Trying to figure out what I am doing wrong? I am able to login using th= e > > same credentials from a browser via URL > > https://cmis-alfresco:8443/alfresco/faces/jsp/login.jsp > > > > Thanks, > > Joshy > > > > > > On Tue, Sep 16, 2014 at 8:07 AM, > > wrote: > > > >> Hello, > >> > >> Just one tip. If you are using a certificate not signed by a CA, don't > >> forget to add the certificate in your JVM installation. > >> > >> Regards. > >> > >> > >> Jorge MARTIN CUERVO > >> > >> European Commission > >> DG TRADE > >> Unit A4 > >> CHAR 02/077 > >> B-1049 Brussels/Belgium > >> +32 2 298 86 27 > >> jorge.martin-cuervo@ext.ec.europa.eu > >> > >> -----Original Message----- > >> From: Florian M=C3=BCller [mailto:fmui@apache.org] > >> Sent: Monday, September 15, 2014 6:20 PM > >> To: Joshy Augustine; dev > >> Subject: Re: Open CMIS and https > >> > >> Hi Joshy, > >> > >> Just use a https URL to connect. There is no code change necessary. > >> > >> - Florian > >> > >> > >>> Hi All, > >>> > >>> I am trying to understand what are the code changes(if any) required > if I > >>> need to use Open CMIS Client APIs to talk to a ECM Repository running > in > >>> https mode. I am currently using Atompub binding and Http Basic > >>> Authentication. > >>> > >>> Any pointers in this area will be quite useful. > >>> > >>> Many Thanks, > >>> Joshy > >> > > > > > > > > -- > > Cheers, > > Josh > > --=20 Cheers, Josh --f46d0418263ea96dc305033dccf8--