Message Metadata
The message metadata represent the structure definition of the XI message payload.
Interface Overview
Characteristic |
Value |
Name |
XI message metadata |
Purpose |
Structure definition of the XML document of the message payload |
Type |
WSDL, XSD, DTD, load an XML example file |
Technical name |
- |
Certification |
Optional |
Syntax |
See standards |
The XI message recognizes different payload types:
· Application payload
The application payload is usually an XML business document. The XI message interface provides the following methods for this payload:
¡ getDocument()
¡ setDocument()
The task of the Integration Server is to process these documents in mapping, in the Business Process Engine, and in the modules for content-based routing. To do this, the Integration Server must know the document structure.
You can define the structure definition for a document in the Integration Repository or load it as WSDL, XSD DTD, or an example XML file.
· Attachment of an application payload
The attachments of an application payload are not processed by the Integration Server but are forwarded with the message unchanged. For this reason, these attachments must only contain additional information, such as pictures and so on.
The following restriction currently exists:
Message XML documents should not contain DOCTYPE tags referencing external definitions. The Integration Server cannot handle such references and reacts with an error message. The adapter must identify and handle any such tags.
· If your adapter provides defined payloads, you must provide a mechanism to create WSDL, XSD, or DTD files to create message metadata. The loading of example XML documents is supported but should be avoided, as it does not describe all document variants.
·
You can load the
generated file to the Integration Repository. See also:
External
Definitions
· You can then use the message metadata in the Integration Server.