Assemble a Web services client
The steps in this topic explain how to use the command-line tools to assemble a Web service-enabled client application.
To assemble a Web services client in a Web archive (WAR) file, follow these steps:
- Expand the WAR file in the root directory.
- Place the WSDL file in the WEB-INF/wsdl subdirectory.
- Place the webservicesclient.xml and JAX-RPC mapping files in the WEB-INF subdirectory.
- (Optional) If you use the ibm-webservicesclient-bnd.xmi file, place it in the WEB-INF subdirectory.
Add the files to the existing WAR file with the appropriate command for your platform.
- On iSeries, run jar -uvf existing.war WEB-INF/* from Qshell.
- For UNIX platforms, run jar -uvf existing.war WEB-INF/*.
- For Windows platforms, run jar -uvf existing.war WEB-INF\*.
After you assemble the client application, test it to verify that it runs correctly.