cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS code examples

puntino
Champ in-the-making
Champ in-the-making
Please,
could anyone to provide  code-examples  that uses the CMIS standard.
I need examples either  for Web services port-binding or Rest.
Thank you in advance.
4 REPLIES 4

jpotts
World-Class Innovator
World-Class Innovator
Some of these are easy to get to while others will require some digging depending on what you need to do…

Two simple examples using curl
http://ecmarchitect.com/archives/2009/04/10/959

Links to Surf Code Camp materials and resources (Lab 4 includes some CMIS work)
http://ecmarchitect.com/archives/2009/02/05/891

Alfresco's hosted CMIS info page
http://cmis.alfresco.com

CMIS TCK (part of Apache Chemistry) source code
http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/

Go to your repo's web scripts page (http://localhost:8080/alfresco/service/) and click on "Browse CMIS web scripts" to see a list of CMIS web scripts in Alfresco. There's a test harness in there that may be good to look at.

If you can grok PHP, go to drupal.org and snag the Drupal CMIS and CMIS Alfresco modules.
http://drupal.org/project/cmis
http://drupal.org/project/cmis_alfresco

Finally, Richard McKnight gave some good CMIS talks at the Fall meetups. Some of his material is in the Content Community at this URL (login required):
http://tinyurl.com/yhab82j

Hope that helps,

Jeff

puntino
Champ in-the-making
Champ in-the-making
Thank you John for your help.
I'm following the examples posted on Gabriele's blog site (http://mindthegab.com/2009/10/19/maven-and-chemistry-strike-back-a-maven-archetype-as-cmis-labs-and-...).
I noticed that he used the "tck  library" (e.g. org.apache.chemistry.tck.atompub.http.Response).
two questions arises:
1)Can I use this library for my enteripse web application ?  I have to deliver my project  to a client.
2) if so,  Where can I download the library from ?   Maybe, I can donwnload the entire code from the apache chemistry's repository
and create a jar .
If no, what equivalent library can I use ?
Thank you in advance.

puntino
Champ in-the-making
Champ in-the-making
Dear John,
I already got the library I was looking for. Therefore do not waste your time by trying to help me Smiley Happy

gauchoproluanco
Champ in-the-making
Champ in-the-making
Hi Puntino!

I'm trying to make my first CMIS java client using Apache Chemistry. As I could see in a few snippets I need two classes for connecting and getting the info of the repositories:

ContentManager cm = new APPContentManager(url);

My problem is that I am not able to find these classes in the bundles I have downloaded (nuxeo-cmis-jars-1.0-20100219). Could you tell me how do you get those libraries?

Thanks in advanced,

Luis