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:
Start the WebSphere Studio Development Client for iSeries.
Click File --> Import to import WAR file into the WebSphere Studio Development Client for iSeries.
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 that contains the webservicesclient.xml file in the Project Navigator pane.
Expand the directories under the project until the 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.
In the Description field, enter the name of the service that the client accesses.
Expand the Service reference implementation details section.
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/.
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.
In the WSDL file field, enter the WSDL file name used by the client, relative to the root of the module.
In the JAX RPC mapping file field, enter the file name of the Java mapping file, relative to the root of the module.
Save the application.