Using Ant tasks to create IBM WebSphere JAX-WS runtime environment web services and clients

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:

  1. Create a server to which your web service EAR will be deployed: Creating a JAX-WS enabled WebSphere server.
  2. 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.
  3. Import the Ant task and properties files into your workspace: Importing Ant files for your JAX-WS web service
  4. Customize the Ant properties files for your web service or client:
  5. Run the Ant task to create the web service or client:

Feedback