Importing Ant files for your JAX-WS web service

To generate a JAX-WS web service using Ant tasks, you must import the Ant task and template properties files into your workspace.

About this task

To import the required Ant files:

Procedure

  1. Create a project.
  2. In the Enterprise Explorer, right-click your new project and select File > New > Other > Web Services > Ant Files and then click Next.
  3. Select the JAX-WS runtime and the correct web service type for your scenario. Select the project you created in step 1 as the folder into which the Ant files will be imported, and click Finish. The XML file used to generate the service or client, and the properties file used to customize the service are imported into a folder called wsgenTemplates.
    Scenario of Web Service Web Service Generation File Properties File
    Bottom-up Java™ was_jaxws_bujava.xml was_jaxws_bujava.properties
    Top-down Java was_jaxws_tdjava.xml was_jaxws_tdjava.properties
    Web service client was_jaxws_client.xml was_jaxws_client.properties

What to do next

Once you have imported the required Ant files, you can do one of the following:

Feedback