If you want to automate how you create web services and
clients for the IBM® WebSphere® JAX-WS runtime environment,
you can use Ant tasks rather than the web services wizard. Run your
Ant tasks in one of two ways: in the Eclipse workspace or headless
on a command line. After you create your web service, you can deploy
it to a server, test it, and publish it as a business entity or a
business service.
To create a WebSphere JAX-WS
Web service or client using Ant tasks:
- Create a server to which your web service EAR will be deployed: Creating a JAX-WS enabled WebSphere server.
- Create a web project for your web service Creating a JAX-WS enabled web project, or an EJB project, a Java project, or a Java EE application client project for your
web service client.
- Import the Ant task and properties files into your workspace: Importing Ant files for your JAX-WS web service
- Customize the Ant properties files for your web service or client:
- Run the Ant task to create the web service or client: