Tools | JAXB | Generate XML Schema From Java Using JAXB

editor | context menu of a class name | Web Services | Generate XML Schema From Java Using JAXB


Use this dialog box to configure XML Schema generation based on the existing Java code.

  1. This functionality is provided via the WebServices bundled plugin, which is enabled by default. If not, enable it as described in the section Enabling and Disabling Plugins .
  2. The menu item and the dialog box are available when a Java class is opened in the active editor tab.
ItemDescription
Class NameThis read-only field shows the name of the class to base the XML Schema generation on.
Include parameter and return type of the following methods
  • When the check box is cleared, the parameter and return type of all the class methods will be reflected in the generated Schema.
  • Select this check box to have a list of the class methods displayed and specify the methods to be involved in Schema generation.

Selecting this check box enables the Parameter / return type of the following method and the Add to JAXB generation controls.

Parameter / return type of the following methodThis read-only field shows a list of all the methods of the current class.
Add to JAXB generationSelect this check to have the parameter/return type of the corresponding method involved in Schema generation.
StatusView the information in this read-only field to track and improve discrepancies when configuring the Schema generation procedure.