cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco api's

pdigumarthi
Champ in-the-making
Champ in-the-making


I have started working in Alfresco from last week and I am trying to have a basic understanding of it.

While I am trying to understand it , I am really confused on different ways of interacting with the repository.

Here is my Understanding , please correct me if I am wrong.

1. Alfresco provides native Java API's which can be used directly to interact with the repository { alfresco only}

2. Alfresco provides CMIS webservices which are SOAP based and they can be used to interact with the respository.
the following is WSDL location of the webservices:

http://127.0.0.1:8080/alfresco/cmisws/cmis?wsdl

3. Alfresco provides CMIS RestFul API's { which are implemented using Webscripts }
The available restful API's are located in the following location.

/alfresco/service/cmisatom/

all of the services use ATOM binding and we cannot communicate using JASON

4. Alfresco provides RestFul API's { non CMIS which are implemented using Webscripts }
The available restful API's are located in the following location.

alfresco/service/api/

For these we need to use JASON binding

5.There are public CMIS apis , I am consfused on exactly are there

all of the services use ATOM binding and we cannot communicate using JASON

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

I want to understand which is the more efficient way of interacting with the repository, particularly when we are dealing with large documents with sizes greater than
10 MB and also we need to update the custom metadata fields as well.
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
<blockquote>1. Alfresco provides native Java API's which can be used directly to interact with the repository { alfresco only}</blockquote>

Yes, if your code is running within the Alfresco web application you can use the native Java API.

<blockquote>3. Alfresco provides CMIS RestFul API's { which are implemented using Webscripts }</blockquote>

No, the most recent CMIS restful implementation is based on OpenCMIS, not web scripts. The URL is /alfresco/api/-default-/cmis/versions/1.0/atom for CMIS 1.0 and 1.1/atom for CMIS 1.1. If you want to use the CMIS 1.1 JSON binding you would use 1.1/browser.

Jeff