Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Create JAXB Projects

Create JAXB Projects

Save an XML schema file to your file system.
JAXB is a binding framework that enables you to convert data between XML and Java formats. In Studio, you can convert XML schema files into Java classes by creating a JAXB project. Once you create a JAXB project, you can implement its Java classes in an integration by adding it as a dependency in an assembly project.
  1. Select
    File
    New
    Workday Schema to Java (JAXB) Project
    .
  2. On the
    Project Configuration Details
    window, consider:
    Option Description
    Project name
    The name of your project.
    Target runtime
    The target runtime server for your project. Automatically populates as
    Workday Runtime
    .
    Configuration
    The facet configuration of your project. Automatically populates as
    Workday Schema to Java (JAXB) Project
    .
  3. On the
    Source Folders
    window, consider:
    Option Description
    Generation directory
    The directory folder for your JAXB generated Java classes. Automatically populates as
    jaxb-gen
    .
    Mark generated resources as derived
    Marks your JAXB generated Java classes as derived resources. Studio automatically selects this check box.
  4. On the
    JAXB Schema Selection and Generation Settings
    window, consider:
    Option Description
    Schema Files
    The location of your XML schema files. Studio displays these options:
    • Workspace
    • External
    • URL
    JAXB External Binding Files (optional)
    The location of any binding files for your XML schemas. Studio displays these options:
    • Workspace
    • External
    Generate default binding file for unmapped schemas
    Creates generic binding files for your XML schemas.
    Location within Project
    The directory folder for generic binding files. Automatically populates as
    jaxb-resources/bindings.xjb
    .
    Choose how to manage Schema and External JAXB Binding files
    Select
    Create links in the project to external Schema/Binding files
    to create links to your schema and binding files in your new JAXB project. Studio automatically selects this option.
    Select
    Copy Schema/Binding files to project now
    to copy your schema and binding files into your new JAXB project.
    Compiler Options
    Studio displays these options:
    • Specify target package (overrides all other package definitions)
    • Apply less strict validation to schemas
    • Suppress package level annotations
    • Automatic name conflict resolution
  5. Click
    Finish
    .
Studio displays the JAXB project on the
Project Explorer
view.
Add the JAXB project as a dependency in an assembly project.