Creating JAXB Java object classes by using a wizard

Create Java™ Architecture for XML Binding (JAXB) Java object classes by using the Generate JAXB Java object classes wizard.

Before you begin

About this task

You can create your JAXB Java object classes when you create a Java class for a JavaCompute node in your message flow. Alternatively, you can create your JAXB Java object classes first, to be used in one or more JavaCompute node Java classes later. The same Generate JAXB Java object classes wizard is used whether you call the wizard interdependently or from within the New Java Compute Node Class wizard.

To generate JAXB Java object classes from your message model schema files by using the Generate JAXB Java object classes wizard, complete the following steps:

Procedure

  1. Optional: In the Application Development view, click the view menu (shown by a white arrow in the Application Development view toolbar), and select Hide Namespaces.
    This step is required if you want to create your JAXB Java object classes from a folder that contains multiple message model schema files.
  2. Right-click the message model schema file that you want to use, and click Generate JAXB Java object classes. To create JAXB Java object classes from multiple message model schema files at the same time, right-click a folder that contains the message model schema files that you want to use, and click Generate JAXB Java object classes.
    The Generate JAXB Java object classes wizard is displayed.
  3. Complete the fields as required, then click Finish.

Results

Your JAXB Java object classes are visible in the Application Development view, under the src folder of the Java project that you selected in the wizard.

What to do next