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

cancel
Showing results for 
Search instead for 
Did you mean: 
bendsito
Member II

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

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
kaynezhang
Advanced

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

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

bendsito
Member II

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

Hi kaynezhang,

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

getRepositoriesError.PNG

 

Any other ideas on why this is happening?

kaynezhang
Advanced

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

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
Member II

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

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