To generate a JAX-RPC web service or client using Ant tasks,
you must import the sample properties files into your workspace.
About this task
To import the required Ant files:
Procedure
- Create a project.
- In the Enterprise Explorer, right-click your new project
and select .
- Select the JAX-RPC 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_jaxrpc_bujava.xml |
was_jaxrpc_bujava.properties |
| Bottom-up EJB |
was_jaxrpc_buejb.xml |
was_jaxrpc_buejb.properties |
| Top-down Java |
was_jaxrpc_tdjava.xml |
was_jaxrpc_tdjava.properties |
| Top-down EJB |
was_jaxrpc_tdejb.xml |
was_jaxrpc_tdejb.properties |
| Web service client |
was_jaxrpc_client.xml |
was_jaxrpc_client.properties |
- Click Finish.