Importing from XML schema

This describes how to create a new message definition from an XML Schema using the New Message Definition File wizard in the workbench.

Before you start:

To complete this task, you must have completed the following tasks:

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

The following steps cover creating a completely new message definition file and also overwriting 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 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 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 will vary depending on 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 completed 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