Document Integration using the CMIS icon

Document Integration using the CMIS

(0 reviews)

home

Demonstrates how to connect to a CMIS system. Based on the simple use case, the example loads a locally stored file and uploads it to an active CMIS account.

The Content Management Interoperability Services standard enables information sharing between different Content Management System. You may wish to exchange such content with various systems, for example, filesystems, and document cloud sharing systems. In these situations, CMIS Connector offers integration capabilities.

Example

This application presents a simple use case scenario: by making an HTTP request to the designated HTTP endpoint the file is loaded from the local filesystem and uploaded to the predefined folder inside the CMIS. The ID of the uploaded file is shown as the HTTP response.

Set Up and Run the Example

Complete the following procedure to create, then run this example in your own instance of Anypoint Studio. Skip ahead to the next section if you prefer to simply examine this example.

  1. Create the example application in Anypoint Studio.
  2. In the Package Explorer, right-click the cmis-document-integration project name, then select Run As > Mule Application. Studio runs the application on the embedded server.
  3. Open your Web browser.
  4. In the address bar, type the following URL: http://localhost:8081/cmis
  5. Press enter to elicit a response from the cmis-document-integration application. Notice the id in the response displayed in the browser window.
  6. Navigate to http://demo.openkm.com/OpenKM/login.jsp. Use following login data:

     User Name: user3
     Password:  pass3
  7. Click the okm:root node in the left panel to verify that file with the generated name id was uploaded.

  8. Stop the Mule application by clicking the square, red terminate button in the Console.

Documentation

Read full documentation in GitHub


Reviews

TypeExample
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onJun 22, 2017
Asset overview

Asset versions for 1.4.x

Asset versions
VersionActions
1.4.0