Importing from XML Schema

You can use the New Message Definition File wizard in the workbench to create a new message definition from an XML Schema

Before you start you must have completed the following tasks:

Before you begin this task, you should be aware of the following points:

The following steps create a completely new message definition file or overwrite the contents of an existing file.

To create a message definition from an XML Schema file:

  1. Switch to the Broker Application Development perspective.
  2. Open the New Message Definition File wizard by clicking File> New> Message Definition File on the workbench menu. Alternatively, you can open the wizard by right-clicking an *.xsd file that was previously imported into the workbench and clicking New> Message Definition File on the menu.
  3. In the displayed list of options, click XML Schema file to select it, and then click Next.
  4. Step through the remainder of the wizard, filling in the details as required. The processing time for importing the XML Schema varies according to the size and complexity of that schema. In a large and complex schema, it can take some time to import the file, generate the log file and display any task list warnings or errors.

When you have finished importing the XML Schema using the wizard:

Related concepts
Ways to create message definitions
Importing from other model representations to create message definitions
Importing XML Schema into message sets with namespaces disabled
Namespaces in the message model
XML Schema and the message model
Schema restrictions in the message model
Related tasks
Working with a message set project
Creating a message set
Importing from the command line
Configuring message set preferences
Adding an XML wire format
Deleting objects
Related reference
Import formats
Message set preferences
XML Schema Importer
XSD options file for the mqsicreatemsgdefs command
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:04

ad11740_