Working with XML services
The IBM® Content Manager connector
provides APIs in cmbxmlservice.jar that can convert
three types of system administration data into XML:
- Administrative metadata objects, which can include users, user groups, resource manager configuration, document routing definitions, ACL privileges, privilege sets, library server configuration, and the search template and server configuration. This uses an XML schema called cmadmin.xsd (located in IBMCMROOT/config/) to represent the IBM Content Manager Version 8 administration objects in an XML file.
- Data model metadata objects which define the structure for item types, component types, and entities. These objects are stored as XSD files (storage schemas), which all refer to element or type definitions defined in the cmdatamodel.xsd file (located in IBMCMROOT/config).
- Data instance objects, which can include items, attributes, and resource items (binary attachments). These objects are stored as XML files that conform to the storage schemas.
By representing objects as XML, you can import, store, update, retrieve, and export a wide variety of objects—such as documents or administrative data—between IBM Content Manager servers without developing separate interfaces for each system.
For a sample of the XML import and export functionality, see TXMLExport.java, TXMLImport.java and TXMLList.java in the IBMCMROOT/samples/java/xml directory.