Using OEPE, you can generate JAXB classes from an existing XML schema for your Web service project.
To generate JAXB classes:
In the Project Explorer, right-click the schema file (XSD file) in your Web service project, and then select WebLogic Web Services > Generate JAXB Types from the drop-down menu. This will open the New JAXB Types > Generated Artifacts dialog.
On the New JAXB Types > Generated Artifacts dialog, specify the output location of the generated JAR file, as well as the Ant script generation options, and then click Next.
Note: You can also save the generated Ant script for future modifications to the generation of the JAXB artifacts. To do so, select Keep generated Ant script to save the file.
On the next New JAXB Types > Customization Options screen, you may choose to specify additional options, and then click Finish.
Upon completion of the preceding procedure, Eclipse creates the JAXB type JAR file in your Web service project's WebContent/WEB-INF/lib directory.
For information on using generated JAXB types with your Web service, see Web Services Development: Starting Points for JAX-WS.