Unfortunately the outstanding implementation of CMIS in Alfresco can cause some doubts about which URL use :) As Jeff kindly mentioned again, you should use CMIS 1.1 with the URL similar to the following:
http://[host]:[port]/alfresco/api/-default-/public/cmis/versions/1.1/atom <https://community.alfresco.com/%5Bhost%5D%5Bport%5D> Hope this helps. 2017-01-22 4:41 GMT+01:00 Jeff Potts <[email protected]>: > That URL is deprecated in Alfresco 4.2.d. The correct URL can be found > below: > > CMIS 1.0 > > > > For Alfresco 3.x : http://[host]:[port]/alfresco/service/cmis > <https://community.alfresco.com/%5Bhost%5D%5Bport%5D> > > For Alfresco 4.0.x, Alfresco 4.1.x and Alfresco 4.2.a-c: > http://[host]:[port]/alfresco/cmisatom > <https://community.alfresco.com/%5Bhost%5D%5Bport%5D> > > For Alfresco 4.2.d-f, Alfresco 5.0 and Alfresco 5.1: http://[host]:[port]/ > alfresco/api/-default-/public/cmis/versions/1.0/atom > <https://community.alfresco.com/%5Bhost%5D%5Bport%5D> > > > CMIS 1.1 > > > > For Alfresco 4.2.d-f, Alfresco 5.0 and Alfresco 5.1: http://[host]:[port]/ > alfresco/api/-default-/public/cmis/versions/1.1/atom > <https://community.alfresco.com/%5Bhost%5D%5Bport%5D> > > > Browser Binding > > > CMIS 1.1 > > > > For Alfresco 4.2 and Alfresco 5.0: http://[host]:[port]/ > alfresco/api/-default-/public/cmis/versions/1.1/browser > <https://community.alfresco.com/%5Bhost%5D%5Bport%5D> > > > > On Jan 21, 2017, at 5:26 AM, Furkan KAMACI <[email protected]> wrote: > > Hi Piergiorgio, > > I've installed Alfresco 4.2.d and it uses CMIS 1.0 When I manually connect > here: > > http://[host]:[port]/alfresco/cmisatom > > I can get the required file. I also now the repository id of my > installation. I can index data via ManifoldCF but I cannot get any ACLs. > When I check here: > > /mcf-authority-service/UserACLs > > it says: > > DEAD_AUTHORITY > > Is there any problem while getting ACLs via CMIS connector or do I miss > anything? > > Kind Regards, > Furkan KAMACI > > On Wed, Jan 18, 2017 at 4:34 PM, Piergiorgio Lucidi < > [email protected]> wrote: > >> Hi Furkan, >> >> the endpoint depends on the specific Alfresco version. >> >> For Alfresco 4.2.d-f, Alfresco 5.0 and Alfresco 5.1: >> http://[host]:[port]/alfresco/api/-default-/public/cmis/versions/1.1/atom >> >> For Alfresco <=4.1: >> http://[host]:[port]/alfresco/cmisatom >> >> >> For Alfresco 3: >> http://[host]:[port]/alfresco/service/cmis >> >> The repositoryId is different for any repository because it is generated >> at runtime the first time you start Alfresco. >> You can contact Alfresco as a CMIS Server asking for all the repositories >> exposed and then getting the one you need as the following snippet using >> OpenCMIS in Java language: >> >> List<Repository> repositories = factory.getRepositories(parameter); >> Session session = repositories.get(0).createSession(); >> >> Hope this helps. >> >> Cheers, >> Piergiorgio >> >> >> 2017-01-17 20:53 GMT+01:00 Furkan KAMACI <[email protected]>: >> >>> Hi, >>> >>> I'm testing CMIS Authority Connection. I want to test it with Alfresco. >>> What are the default values for *endpoint* and *repositoryId* for a >>> default installation of Alfresco? >>> >>> Kind Regards, >>> Furkan KAMACI >>> >> >> >> >> -- >> Piergiorgio Lucidi >> Technology Evangelist @ Sourcesense >> Author and Technical Reviewer @ Packt Publishing >> Mentor / PMC Member / Committer @ Apache Software Foundation >> Community Star / Wiki Gardener / Forum Moderator / Certified Instructor, >> Engineer and Administrator @ Alfresco >> Top Community Contributor @ Crafter >> Project Leader / Committer @ JBoss >> http://www.open4dev.com >> > > -- Piergiorgio Lucidi Technology Evangelist @ Sourcesense Author and Technical Reviewer @ Packt Publishing Mentor / PMC Member / Committer @ Apache Software Foundation Community Star / Wiki Gardener / Forum Moderator / Certified Instructor, Engineer and Administrator @ Alfresco Top Community Contributor @ Crafter Project Leader / Committer @ JBoss http://www.open4dev.com
