cancel
Showing results for 
Search instead for 
Did you mean: 

OPENCMIS + JSON

frankb
Champ in-the-making
Champ in-the-making
Hi,

Are there any way of returning the values retrieved by opencmis as JSON ?
F.ex when you do a CmisObject object = session.getObject(objectId);
Is there any way of parsing this to a JSON object? Anyone know anything about this?

Frank
6 REPLIES 6

jpotts
World-Class Innovator
World-Class Innovator
Old post, but worth mentioning that the version 1.1 of the CMIS spec includes something called the "browser binding" which returns all responses as JSON.

There is an experimental browser binding in Alfresco Community 4. Go to http://localhost:8080/alfresco/cmisbrowser to try it out.

Jeff

dhartford
Champ on-the-rise
Champ on-the-rise
How far along is CMIS Browser Binding (CMIS 1.1) along as far as being 'production ready'?  (I'm using 4.2b at the moment, can browse there, but no document or client libraries that I'm aware of)

In particular, in addition to JSON support also interested in CMIS 1.1 support for creating custom content model/objectTypes through CMIS  (2.1.10 Object-Type Creation, Modification and Deletion) and using 'secondary types' as standard in CMIS for mixin/aspects (2.1.9 Secondary Object-Types).

thanks for any info,
-Darren

jpotts
World-Class Innovator
World-Class Innovator
This is a better question for the OASIS TC (regarding the readiness of the spec) and for Apache Chemistry (home to multiple client libraries). As someone involved in both, I don't have timelines to offer but I can tell you that the 1.1 spec has recently finished public review and on the Chemistry side there is work ongoing to add 1.1 features to OpenCMIS (Java). The other languages (Python, C#, PHP, iOS, Android) have not done anything with 1.1 yet. The in-memory reference server is also currently up-in-the-air with regard to 1.1 but is currently being discussed on the dev list.

If you need specific dates, definitely ask the question on those two groups' respective lists.

Jeff

andy
Champ on-the-rise
Champ on-the-rise
Hi

Alfresco currently integrates opencmis 0.8 - which includes the JSON binding against the 1.0 spec (and also has the JSON binding in the TCK)
Opencmis 0.9 has the JSON binding for CMIS 1.1. I am not sure when this will be integrated into the product as there is more to do.
I expect there will be some release with the minimum compliance.

Andy

jpotts
World-Class Innovator
World-Class Innovator
Is the browser binding supported or should it still be treated as experimental?

Jeff

andy
Champ on-the-rise
Champ on-the-rise
Hi

The browser binding in Chemistry 0.8 passed the TCK and is intended to be there. It is being used.
It is true the overall issue has not been closed in the CMIS jira list.

We have been using pre-0.8 versions to support the browser binding.
I would say it was OK - 0.8 included some specific bugs and improvements that were related to the browser binding.

Andy