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
- You must create a message model schema file; see Constructing message models.
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
- 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.
- 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.
- Complete the fields as required, then click Finish.
Results
What to do next
- For information about how to process message body data by using your JAXB Java object classes, see Processing message body data by using JAXB Java object classes.