cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error adding (external) cmis repository to Document Management Application Option on SCP CF

haykma
Participant
2,174

Hi Community,

we subscriped to SAP Document Management Integration Option and SAP Document Application Option and are trying to go our first steps with it.

So i tried to connect our internal (non sap) cmis repository (based on apace chemistry) in the Fiori Application of the DMS Application Option.

But i only get an error "failed to add a repository" with no further information on the error.

Because of this, i tried to add the external alfresco cmis server and its default-repository. I'm getting the same error.

I took these steps for Alfresco:

1) Adding a destionation to the public alfresco server

2) Check connection says Ok:

3) Added Repository to DMS Application Option as follows:

This brings also the same error message (failed to add a respository).

The Atom description of Alfresco CMIS-Server says following about the repository (only first rows shown here, full information available on alfrescos web-page).

I tried already all url variants in the destination configuration, but noone helped.

The only hint i found in the browser console is the failed request:

With messages (with the url in destination as shown above in screenshot)

or (with url: https://cmis.alfresco.com/alfresco and other paths below this)

based on the url i try in the destination to the alfresco public service.

Trying to connect to our own cmis-instance (based on apache chemistry) returns also http error 500 with the last json error message.

I'm running out of ideas? Does anyone have an idea whats wrong?

kind regards

Matthias

Accepted Solutions (1)

Accepted Solutions (1)

haykma
Participant
Hi Community,

found the answer for myself. CMIS has, as far as i know, three different ways to connect to it:

  1. Atom Pub
  2. Web-Service
  3. Browser (Json)

The problems for me was to find out

  • with what protocoll DMS Application Option tries to access the CMIS-Repository (i found no documentation about that in then DMS Applicatio Option Documentation
  • what is the correct Entry-Point (which are dependent from protocoll.

So. For my Test with the public Alfresco Repo i found, that DMS uses the Browser (Json)-Protocoll and you have to use "http://cmis.alfresco.com/alfresco/api/-default-/public/cmis/versions/1.1/browser" as entry-point url in destination definition.

Maybee this helps others to test DMS against an public test repo in the internet.

kind regards

gregorw
SAP Mentor
SAP Mentor
0 Likes

Thank you Matthias for sharing your finding. Hope that someone from SAP will take this as a trigger to enhance the documentation. CC: chuergo16

Answers (0)