Use the Generate Schema from JAXB Classes wizard create an XML schema ( .xsd) for a set of JAXB mapped classes.
From the Navigator or Project Explorer, select File > New > Other. The Select a wizard dialog appears.
Tip: You can also access the Generate Schema from JAXB Classes wizard from a specific project or package. |
Select JAXB > Schema from JAXB Classes and then click Next. The Generate Schema from Classes page of the Generate Schema from JAXB Classes Wizard appears.
Select the project, package, or classes from which to generate the schema and click Finish.