cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco with Drupal CMIS

samcoppock
Champ in-the-making
Champ in-the-making
I am attempting to configure Drupal CMIS to connect to the Alfresco public test repository

I am using this CMIS module
https://www.drupal.org/project/cmis

I am using Alfresco 4.x CMIS Content Repository as found here
https://www.alfresco.com/cmis

The problem is that when i try to browse the repository in drupal I get the following message
There has been an problem contacting the CMIS server, please see the logs.

The error log always reads
HTTP call to [http://docs.oasis-open.org/ns/cmis/ws/200908/] returned [307]. Response: Authentication Required Authentication Required

my Drupal settings file contains the following

$conf['cmis_repositories'] = array(
  'default' => array(
    'user' => 'admin',
    'password' => 'admin',
    'url' => 'http://docs.oasis-open.org/ns/cmis/ws/200908/'
  )
);

The config is copy/pasted from the modules documentation and includes the URL which appears in the error message so i definitely have it setup correctly
is my admin, pass, url combination still valid (ie is the site up to date)
what else could be causing this?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
That URL is not an alfresco CMIS connection.

You probably want to use the right hand values e.g.
http://cmis.alfresco.com:80/cmisws

Saying that alfresco 4.0 is now rather old and the CMIS api has moved in more recent versions.

samcoppock
Champ in-the-making
Champ in-the-making
Thanks for that

http://cmis.alfresco.com:80/cmisws is not one of the URLs in the right hand column
it can be found in all of the URLs in the right column but it is not itself a full URL which can be found in the rigth column

SO how is a person supposed to know that it is the URL they should use (assuming it turns out to be correct).

EDIT – that URL does not work, 404 error.