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.
- Select .
- On theProject Configuration Detailswindow, consider:
Option Description Project nameThe name of your project.Target runtimeThe target runtime server for your project. Automatically populates asWorkday Runtime.ConfigurationThe facet configuration of your project. Automatically populates asWorkday Schema to Java (JAXB) Project. - On theSource Folderswindow, consider:
Option Description Generation directoryThe directory folder for your JAXB generated Java classes. Automatically populates asjaxb-gen.Mark generated resources as derivedMarks your JAXB generated Java classes as derived resources. Studio automatically selects this check box. - On theJAXB Schema Selection and Generation Settingswindow, consider:
Option Description Schema FilesThe 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 schemasCreates generic binding files for your XML schemas.Location within ProjectThe directory folder for generic binding files. Automatically populates asjaxb-resources/bindings.xjb.Choose how to manage Schema and External JAXB Binding filesSelectCreate links in the project to external Schema/Binding filesto create links to your schema and binding files in your new JAXB project. Studio automatically selects this option.SelectCopy Schema/Binding files to project nowto copy your schema and binding files into your new JAXB project.Compiler OptionsStudio 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
- ClickFinish.
Studio displays the JAXB project on the
Project Explorer
view.Add the JAXB project as a dependency in an assembly project.