Importing from other model representations to create message definitions

You can add message definitions to your message set by importing application message formats that already exist.

You can import the following message formats into your message set:

When you import one of these formats, a new message model is created that consists of the elements, attributes, groups, and types that are required to represent your message format. You can choose the name of the message definition file; if it already exists, the content is deleted and recreated as part of the import operation.

The new message model that is created can consist of both logical and physical information, if appropriate physical formats exist in the message set at the time of the import.

To find out which wizards to use to import message formats, see Ways to create message definitions.

You can also import C header files, COBOL copybooks, XML DTD files, or XML Schema files by using the mqsicreatemsgdefs command line utility. The mqsicreatemsgdefs command allows you to import several message format files in a single operation, and allows you to create a new message set (based on an existing message set) into which the message definition files are placed.

WSDL definitions can be imported by using the mqsicreatemsgdefsfromwsdl command line utility. This utility imports only one WSDL definition at a time.

Client application access to messages

Client applications must have access to message definitions to be able to construct the messages that they send, and to interpret the messages that they receive.
  • If the message formats have been imported from C or COBOL structures by using the workbench, your applications can continue to use the same C and COBOL data structures that were imported to create the message dictionary that is used by the brokers.
  • If the messages are self-defining XML, the client applications must construct valid messages by using the structures that can be understood by the recipients of the message.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:20:47

ad00830_