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 IBM® WebSphere® JAX-WS runtime environment and the correct web service type for your scenario. Select the project that you created in step 1 as the folder into which the Ant files are imported, and click Finish. The XML file that is used to generate the service or client, and the properties file used to customize the service are imported into the wsgenTemplates folder.
    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
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: timpantjaxws.html