When we connected Drupal to Alfresco 4.2 via CMIS we used the following url configuration...

$conf['cmis_repositories'] = array(
  ...
  'url' => 'http://xxx.xx.xxx.xxx:8080/alfresco/s/cmis'
  ...

However, we've now moved to Alfresco 5 and the '/alfresco/s/cmis' path no longer seems to work:

The Web Script /alfresco/s/cmis has responded with a status of 404 - Not Found.
404 Description:	Requested resource is not available.
Message:	08140010 Script url /cmis does not map to a Web Script.

What's the equivalent cmis url endpoint for Alfresco 5 ?

Comments

andyingham created an issue. See original summary.

phreaknerd’s picture

Try:

http://xxx.xx.xxx.xxx:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom

andyingham’s picture

Thanks for reply on this - I think we're closer! I changed to that URL but now receiving

HTTP call to [http://***.**.***.***:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom] returned [0]. Response:

...in watchdog. I was on version 7.x-1.2 so tried upgrading to 7.x-1.6, but still receive the same error. It does look as though the XML coming back under Alfresco 5 (for that url) does differ slightly from what came back under Alfresco 4.2, for example many XML nodes now seem to be prefixed with 'app:', e.g. '' rather than ''. I don't think that accounts for the above error though.

andyingham’s picture

Status: Active » Closed (works as designed)

The reason for that last error was that I needed to use the internal IP of the alfresco server, rather than external.