Assemble a Web services client

The steps in this topic explain how to use the WebSphere Studio Development Client for iSeries to assemble a Web service-enabled client application.

To assemble a Web services client in a WAR file, perform the following steps in the WebSphere Studio Development Client for iSeries:

  1. Start the WebSphere Studio Development Client for iSeries.

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

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

  4. In the left pane, click the Project Navigator tab.

  5. Locate the project for the file that you imported in the Project Navigator pane, and expand it.

  6. Expand the WebContent folder so that the WEB-INF subdirectory is displayed.

  7. Right-click the WEB-INF directory and select New --> Folder. Create a subfolder named wsdl in the WEB-INF directory.

  8. Copy the WSDL file to the WEB-INF\wsdl directory. Right-click the wsdl directory and click File --> Import --> File system. Locate the WSDL file for this Web service. Click Finish.

  9. Copy the webservicesclient.xml file and the JAX-RPC mapping file in the WEB-INF subdirectory in the same manner that you used to import the WSDL file. The JAX-RPC mapping file is indicated by the <jaxrpc-mapping-file> element in the web.xml file.

  10. (Optional) Place the ibm-webservicesclient-ext.xmi and ibm-webservicesclient-bnd.xmi file in the WEB-INF subdirectory, if your application uses these files.

  11. Save the application.

  12. Configure the webservicesclient.xml deployment descriptor.