Configure the webservicesclient.xml deployment descriptor
This topic explains how to configure the webservicesclient.xml deployment descriptor with the Assembly Toolkit. It is one of the tools available with the Application Server Toolkit product.
You should have an EJB JAR file, Web archive (WAR) file, or an application client file that you can import into the Assembly Toolkit.
To configure the webservicesclient.xml deployment descriptor with the Assembly Toolkit...
- Start the Assembly Toolkit.
- Click File > Import to import the EJB JAR file, WAR file or application client file into the Assembly Toolkit.
- Open the J2EE perspective by clicking Windows >Open Perspective >J2EE.
- Switch to the Project Navigator pane by clicking the Project Navigator tab.
- Locate the project containing the webservicesclient.xml file in the Project Navigator pane.
- Expand the directories under the project until the META-INF or WEB-INF directory and its contents appear.
- Right-click on the webservicesclient.xml file.
- Select Open. The Web Services Client editor opens.
- Expand the Service references section.
- Select the service_reference that you want to configure.
- Expand the Service reference overview section.
- Type the name of the service for which the client accesses in the Description field.
- Expand the Service reference implementation details section.
- Type the name that the Java Naming Directory Interface (JNDI) uses to locate the service in the Service references name field. The JNDI lookup string for this service is java:comp/env/service-ref-name. By convention, the service reference name always begins with service/.
- Type the class name, including package, of the generated Java interface that is the Service Interface for this Web service in the Service interface name field.
- Type the WSDL file name used by the client, relative to the root of the module, in the WSDL file field.
- Type the file name of the Java mapping file, relative to the root of the module, in the JAX RPC mapping file field.
- Click ctrl-s to save the changes.
The webservicesclient.xml deployment descriptor is configured.
See AlsoConfiguring the ibm-webservicesclient-bnd.xmi deployment descriptor
Web services: Resources for learning