Contact Free trial Login
+
+

Anypoint Exchange

Home to the complete listing of connectors, templates, examples and APIs.
Discover and use proven assets built by the MuleSoft ecosystem, or add assets to a private
tenant of Anypoint Exchange for collaboration and sharing of internal best practices.

Document Integration using the CMIS

Document Integration using the CMIS

(0 reviews)

Learn how to load and upload files to a CMIS system.


Screenshot of the main flow in Anypoint Studio, view full image here

Description

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

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

Example Use Case

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. 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 on 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

Download
Log into Anypoint Platform to download this asset

Overview

Type
Example
Organization
MuleSoft
Created by
MO
MuleSoft Organization
Published onJun 22, 2017

Versions

VersionRuntime version
1.4.03.x
1.3.33.7
1.2.03.6