Message Sets: Generating multiple XML Schemas

You can generate an XML Schema for each message definition file in a message set.

Before you begin

You must have completed the following tasks:

Note: IBM® Integration Bus uses XML Schema 1.0 to describe the logical structure of messages.
Tip: You should replace any deprecated constructs before you generate XML Schema representations of your models.

About this task

Procedure

  1. Switch to the Integration Development perspective.
  2. In the Application Development view, right-click the message set folder from which you want to generate XML Schemas, and click Generate> XML Schemas.
  3. The Generate XML Schemas window is displayed, and you must put into the Zip file name field the name of the compressed file (*.zip file extension) that you want to contain the generated XML Schemas.
  4. Select a destination folder for this compressed file. You can choose a location either inside or outside the workspace:
    • Click Create in a workspace directory and select the required destination folder from the expanded workspace directory. The contents of the folder that you select are overwritten.

      If you want to create a new folder:

      1. Click the desired location.
      2. Click Create New Folder.
      3. Click OK
    • Click Export to an external directory and click Browse to expand the directory. Select a folder from the expanded directory. The contents of the folder that you select are overwritten.

      If you want to create a new folder:

      1. Click the desired location.
      2. Click Make New Folder and type the name of the new folder into the directory tree.
      3. Click OK
  5. Optional: Choose from the list given in the XML Wire Format field an XML wire format that you want to use to generate the XML Schemas.
    Tip: You must have previously added one or more XML Wire Format layers to the message set if you want to use an XML physical format when you generate XML Schemas. For further information see Message Sets: Adding an XML wire format.
  6. If you do not want strict generation of an XML Schema, clear the Strict generation check box at the bottom of the Generate XML Schemas page.
    By default, this check box is selected.
    Tip: For further information on strict and lax generation of an XML Schema, see Generation of XML schema.
  7. Click Finish.
    The compressed file that contains your generated XML Schemas is created.