Output Files

StreamServe creates two output files for each document. These files should be located in the newDir directory, as specified in the adapter configuration.

One of the created files is a document file that is saved in the archive.

The other is a descriptive text file that contains meta-information about the document. It contains XML formatted information, as in the example below:

The MDAS entity and ACL are mandatory nodes. Make sure that you use unique filenames for the output from StreamServe. You can use timestamp or a similar feature in StreamServe, since they will be overwritten if they have the same name and are put in queue.

The value of the entity node is the name of the item type. The document created will be of this type. The value of ACL is the name of the action control list setting the authorization level of the document. The child nodes of the attr nodes are the attribute values to associate with the document. The name

of each child node must be equal to an attribute in the item type and the value should be the actual

data put as attribute value in the newly created item. Repeat these type-value pairs for all attributes that should be stored in IDM.

Any attributes that are not part of the chosen item type will be ignored with a logged level 2 warning. This log occurs when Log Level 2 is set on the adapter.

Use CDATA encapsulation if the output from StreamServe may contain characters that are reserved for XML, for example, < or >.