cancel
Showing results for 
Search instead for 
Did you mean: 

Can't use "getRepositories" on the Public Alfresco CMIS Server

bendsito
Champ in-the-making
Champ in-the-making

Hello,

I'm trying to test my CMIS app using the public Alfresco CMIS server.

The request of the service document works fine (endpoint: https://cmis.alfresco.com/api/-default-/public/cmis/versions/1.0/atom), but I'm not able to use any of the repository services.

For example, if I try to use "Get Repositories" (https://cmis.alfresco.com/api/-default-/public/cmis/versions/1.0/atom/getRepositories) the server responds with a 405 error and the description: The specified HTTP method is not allowed for the requested resource.

Could somebody please tell me what I'm doing wrong?

4 REPLIES 4

kaynezhang
World-Class Innovator
World-Class Innovator

try cmis 1.1 implemation http:/localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom

bendsito
Champ in-the-making
Champ in-the-making

Hi kaynezhang,

Thanks for your reply. Unfortunately the outcome with 1.1 implementation is the same:

image

Any other ideas on why this is happening?

kaynezhang
World-Class Innovator
World-Class Innovator

No,you should not visit it in browser directly  ,instead you should use it in cmis api,please refer to
https://docs.alfresco.com/6.1/concepts/opencmis-ext-intro.html

bendsito
Champ in-the-making
Champ in-the-making

I'm not using it in the browser, that screenshot is the Postman app making a request to the CMIS API.