Try Apache Chemistry CMIS PHP Client

465 Views Asked by At

I'm very confused because I've tried to connect to alfresco cmis repository with Apache chemistry PHP library, but when I try from console:

php -f cmis_ls.php http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom admin admin / 

I don't receive nothing. Why?

I think, that I've to received a list of all directories in admin personal home, no?

My PHP installation support DOMDocument and curl. But, when I can't try the example of Apache Chemistry CMIS PHP client.

1

There are 1 best solutions below

4
On

You should do like this php -f cmis_ls.php http://localhost:8082/alfresco/api/-default-/public/cmis/versions/1.1/atom admin admin /Example+Folder 1

This Example Folder is the folder present in my repository. If there are spaces then use "+" and after that you need to pass 1.This 1 is for showing all the array of documents in that folder

From where you are executing this command ?

Well i tried executing this command from alfresco community edition which i installed and also from my apache. I am using ubuntu and it works perfect.

Have you installed maven ?

Have you started the server for alfresco ?

check those things and let me know.Give me screenshot of the error too.