Creating a JAX-WS Java First project

A JAX-WS Java First project allows you to generate JAX-WS annotated stub code and WSDL from a service endpoint interface (SEI). For more details, see the section on Java First Development on the Apache CXF web site.
Note: You need to select a JAX-WS runtime before creating a Java First project.

To create a JAX-WS Java First project:

  1. Select File > New > Project .
  2. In the New Project wizard, select SOA Tools > JAX-WS Java First Project .
  3. Enter the project name in the General Details panel and click Next.
  4. If you have more than one JAX-WS runtime set in the SOA Tools preferences, you will need to choose a runtime.
  5. In the Starting Point panel, click Browse to select a Java source file. Note: if you are using the JAX-WS RI runtime, you must select a class, rather than an interface.
  6. In the Dependencies section, add any dependent Java files or libraries and click Next.
  7. In the Generator Paremeter page, select the version of SOAP that you want to use in the generated WSDL.
  8. Make the following checkbox selections, as required:
    • None: A JAX-WS-enabled project is created that contains an annotated version of the Java source file.
    • Generate WSDL: Generates a WSDL file from the source Java
    • Generate server: Generates server-side code
    • Generate client: Generates client-side code
    • Create XSD code: When generating WSDL, creates a separate XML Schema file to contain the WSDL types, which are then imported into the WSDL
    • Verbose: Displays comments during the code generation process.
  9. Click Finish.
Related tasks
Annotating a class
Annotating a method