The main components in the IBM Content Manager web services architecture
include the requester, the web service server, the XML beans layer,
and the IBM Content Manager repository.
Here is the general interaction flow of the main components of
the web services:
A requester makes a call to the web service server.
The IBM Content Manager web service
server analyzes and extracts the XML message from the SOAP envelope
and extracts the binary data being uploaded from SOAP attachments.
The XML message is sent to the IBM Content Manager XML beans layer.
The XML beans transform the XML into multiple calls to the underlying IBM Content Manager APIs.
The APIs access the data in the repository and return values to
the XML beans.
The return values from the APIs are transformed into an XML response
message by the XML bean. This message contains the request status,
response data, and exception information (if applicable). If the
APIs return any binary data, they are not contained in the message
but referred to separately.
The message is returned to the IBM Content Manager web service server.
The web service server creates a SOAP message.
The SOAP message is returned to the requester.
Figure 1 depicts the steps
involved in document processing by using web services. A SOAP request
is sent to the web service server to store an insurance claim. The
Web service mid-tier, which includes the web services server, web
services servlet, XML Beans, and APIs processes the SOAP request and
sends the data to the library server. The claim is stored into the
library server and pictures associated with the claim are stored in
the resource manager. Figure 1. Processing a document by using web services