Message Sets: Creating a message definition file from an existing resource

You must create a message definition file before you can create the message model objects. The message definition file contains the logical and physical model definitions of the objects in XML schema form.

Before you begin

You must have completed the following task:

About this task

To create a new message definition file that is based on an existing resource:

Procedure

  1. Switch to the Integration Development perspective.
  2. Open the appropriate New Message Definition File From wizard.

    Right-click the message set project in the Application Development view that you are adding the message definition file to, and click New> Message Definition File From.

    A submenu shows the list of resources from which you can choose.
  3. Choose the resource on which to base your new message definition.
    Click one of the following resources:
    • C Header File
    • COBOL File
    • CORBA IDL File
    • Database Definition File
    • IBM Supplied Message
    • SCA Import or Export
    • WSDL File
    • XML DTD File
    • XML Schema File
    The first panel of the corresponding wizard is displayed.
  4. Step through the remainder of the wizard supplying the details as required.
    For more information about using the New Message Definition File wizards, see Message Sets: New message definition file wizards.

Results

The new message definition file, with the name that you have specified and a file extension of .mxsd, opens in the Message Definition editor. You can use the editor to create your own message definitions. If you have chosen to use a target namespace, a directory structure that is based on the URI that you have supplied is created. The new message definition file is placed within this directory structure, which is shown in the Application Development view.