Configure the webservicesclient.xml deployment descriptor

This topic explains how to configure the webservicesclient.xml deployment descriptor with the WebSphere Studio Development Client for iSeries.

To configure the webservicesclient.xml deployment descriptor with the WebSphere Studio Development Client for iSeries, perform the following steps:

  1. Start the WebSphere Studio Development Client for iSeries.

  2. Click File --> Import to import WAR file into the WebSphere Studio Development Client for iSeries.

  3. Open the J2EE perspective by clicking Windows --> Open Perspective --> J2EE.

  4. Switch to the Project Navigator pane by clicking the Project Navigator tab.

  5. Locate the project that contains the webservicesclient.xml file in the Project Navigator pane.

  6. Expand the directories under the project until the WEB-INF directory and its contents appear.

  7. Right-click on the webservicesclient.xml file.

  8. Select Open. The Web Services Client editor opens.

  9. Expand the Service references section.

  10. Select the service reference that you want to configure.

  11. Expand the Service reference overview section.

  12. In the Description field, enter the name of the service that the client accesses.

  13. Expand the Service reference implementation details section.

  14. In the Service references name field, enter the name that the Java Naming Directory Interface (JNDI) uses to locate the service.

    The JNDI lookup string for this service is java:comp/env/service-ref-name. By convention, the service reference name always begins with service/.

  15. In the Service interface name field, enter the class name, including package, of the generated Java interface that is the Service Interface for this Web service.

  16. In the WSDL file field, enter the WSDL file name used by the client, relative to the root of the module.

  17. In the JAX RPC mapping file field, enter the file name of the Java mapping file, relative to the root of the module.

  18. Save the application.