41 lines
1.5 KiB
HTML
41 lines
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
|
|
|
<title>Assemble a Web services client</title>
|
|
</head>
|
|
|
|
<BODY>
|
|
<!-- Java sync-link -->
|
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
|
|
|
<h3><a name="wsassemclient"></a>Assemble a Web services client</h3>
|
|
|
|
<p>The steps in this topic explain how to use the command-line tools to assemble a Web service-enabled client application.</p>
|
|
|
|
<p>To assemble a Web services client in a Web archive (WAR) file, follow these steps:</p>
|
|
|
|
<ol>
|
|
<li>Expand the WAR file in the root directory.</li>
|
|
|
|
<li>Place the WSDL file in the WEB-INF/wsdl subdirectory.</li>
|
|
|
|
<li>Place the webservicesclient.xml and JAX-RPC mapping files in the WEB-INF subdirectory.</li>
|
|
|
|
<li>(Optional) If you use the ibm-webservicesclient-bnd.xmi file, place it in the WEB-INF subdirectory.</li>
|
|
|
|
<li><p>Add the files to the existing WAR file with the appropriate command for your platform.
|
|
<ul>
|
|
<li>On iSeries, run <tt>jar -uvf existing.war WEB-INF/*</tt> from Qshell.</li>
|
|
<li>For UNIX platforms, run <tt>jar -uvf existing.war WEB-INF/*</tt>.</li>
|
|
<li>For Windows platforms, run <tt>jar -uvf existing.war WEB-INF\*</tt>.</li>
|
|
</ul></li>
|
|
</ol>
|
|
|
|
<p>After you assemble the client application, test it to verify that it runs correctly.</p>
|
|
|
|
</body>
|
|
</html>
|