WebSphere Message Brokers
File: ad20812_
Writer: Terry Cowling

Task topic

This build: July 31, 2007 21:26:14

Creating a message definition file from an existing resource

Before you start:

You must have completed the following task:

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.

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

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

    To do this, right-click on the message set project in the Broker Development view that you are adding the message definition file to, and click New> Message Definition File From on the pop-up menu.

    A submenu shows the list of resources that you can choose from.
  3. Choose the resource on which you want to base your new message definition. Click XML Schema File, IBM Supplied Message, XML DTD File, C Header File, COBOL File, or WSDL File. The first panel of the corresponding wizard is displayed.
  4. Step through the remainder of the wizard filling in the details as required.
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 appears in the Broker Development view, the Outline view, and the Overview editor.
Related concepts
Message modeling concepts
Message definition files
Message model objects
Related tasks
Adding message model objects
Working with message model objects
Importing data structures
Importing file systems into the workbench
Configuring physical properties
Related reference
Message definition file properties
Message model object properties
New message definition file wizard: Create a new message definition file from scratch
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:26:14

ad20812_ This topic's URL is: