Chapter 2. Basic CMIS Operations
In this chapter, we will dig into the CMIS API and test it by calling a CMIS server directly via HTTP, and it will respond in XML or JSON depending on whether we are using the AtomPub binding or the Browser binding. We will try out most of the common operations that would be normal to perform against a CMS system such as follows:
Authenticating and connecting to the server
Fetching repository information including repository ID and root-folder URL
Listing the content of a folder
Listing the content types that are available
Reading content metadata and downloading content
Creating, updating, and deleting folders and files
This chapter is particularly useful for those who cannot, for some reason, use a third-party library that abstracts the inner workings of the CMIS interface. So if you cannot use any of the libraries from the Apache Chemistry project, this chapter will be helpful as it will tell you how to interact with any CMIS-compliant server using only HTTP...