cancel
Showing results for 
Search instead for 
Did you mean: 

Remote access API for Alfresco 2.1?

aspa
Champ in-the-making
Champ in-the-making
I'm developing a Java based application that uses Alfresco 2.1 for document storage. The application will run in a separate JVM instance and not in the Alfresco repository JVM.

What are my options for programmatically accessing the document storage out-of-process?
Can the Foundation Services API be accessed remotely?
I've read about problems with the Alfresco JCR-RMI API in earlier releases but are these issues still present with 2.1?
5 REPLIES 5

davidc
Star Contributor
Star Contributor
You can use the Web Services API (WSDL/SOAP approach) http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services or you can use Web Scripts as of 2.1 (HTTP/RESTful approach) http://wiki.alfresco.com/wiki/Web_Scripts

aspa
Champ in-the-making
Champ in-the-making
How complete is the WS API considered compared to the Foundation Services API?

What kind of roadmap does Alfresco have for remote repository access from Java?

davidc
Star Contributor
Star Contributor
We attempt to provide 100% coverage of functionality with the Web Services API - but, it tends to lag behind the foundation services.

Moving forward, we'll continue to invest in the Web Services API (which can provide client-side java bindings).  However, we're also starting to invest in a RESTful Web Services API, which we've started by introducing the Web Scripts framework in 2.1.  Over time, we'll provide a formal supported HTTP API, likely to be based on specs such as ATOM/APP etc.  Client-side java bindings will be provided too, however, 3rd party java libraries such as ROME etc will be usable against such an open api.

aspa
Champ in-the-making
Champ in-the-making
thank you, David.

cyril
Champ in-the-making
Champ in-the-making
You can use the Web Services API (WSDL/SOAP approach) http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services or you can use Web Scripts as of 2.1 (HTTP/RESTful approach) http://wiki.alfresco.com/wiki/Web_Scripts

Can you please give us an idea of differences between those two APIs in terms of performance and features?
Specifically, if you do a lucene query through SOAP, can you get the actual documents back? Or do you just get paths you need to look up individually?