Using Rational Application Developer to generate a proxy client

The Rational Application Developer integrated development environment allows you to generate a proxy client for your client application.

Before you begin

Before generating a proxy client, you must have previously exported the WSDL files that describe the business process or human task Web services interfaces from the WebSphere® environment (or the WebSphere Process Server client CD) and copied them to your client programming environment.

Steps for this task

  1. Add the appropriate WSDL file to your project:
    • BFMWS.WSDL for business processes
    • HTMWS.WSDL for human tasks
  2. Modify the Web Service wizard properties:
    1. In Rational Application Developer, choose Preferences > Web services > Code generation > IBM WebSphere runtime.
    2. Select the Generate Java from WSDL using the no wrapped style option.
  3. Select the BFMWS.WSDL or HTMWS.WSDL file.
  4. Choose the client side container type: client (client container), ejb (EJB container), java (Java™ container), or none.
  5. Right-click and choose Web services > Generate client.
  6. Follow the on-screen instructions.

Result

A proxy client, made up of a number of proxy, locator and helper Java classes, is generated and added to your project. The deployment descriptor is also updated.

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)