ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/webserv/wsassemclient.htm

41 lines
1.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!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>