49 lines
2.5 KiB
HTML
49 lines
2.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 WebSphere Studio Development Client for iSeries to assemble a Web service-enabled client application.</p>
|
|
|
|
|
|
<p> To assemble a Web services client in a WAR file, perform the following steps in the WebSphere Studio Development Client for iSeries:</p>
|
|
|
|
<ol>
|
|
<li><p>Start the WebSphere Studio Development Client for iSeries.</p></li>
|
|
|
|
<li><p>Click <strong>File</strong> --> <strong>Import</strong> to import the WAR file into the WebSphere Studio Development Client for iSeries.</p></li>
|
|
|
|
<li><p>Open the J2EE perspective by clicking <strong>Windows</strong> --> <strong>Open Perspective</strong> --> <strong>Other</strong> --> <strong>J2EE</strong>.</p></li>
|
|
|
|
<li><p>In the left pane, click the <strong>Project Navigator</strong> tab.</p></li>
|
|
|
|
<li><p>Locate the project for the file that you imported in the Project Navigator pane, and expand it.</p></li>
|
|
|
|
<li><p>Expand the <strong>WebContent</strong> folder so that the WEB-INF subdirectory is displayed.</p></li>
|
|
|
|
<li><p>Right-click the WEB-INF directory and select <strong>New</strong> --> <strong>Folder</strong>. Create a subfolder named <tt>wsdl</tt> in the WEB-INF directory.</p></li>
|
|
|
|
<li><p>Copy the WSDL file to the WEB-INF\wsdl directory. Right-click the wsdl directory and click <strong>File</strong> --> <strong>Import</strong> --> <strong>File system</strong>. Locate the WSDL file for this Web service. Click <strong>Finish</strong>.</p></li>
|
|
|
|
<li><p>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.</p></li>
|
|
|
|
<li><p>(Optional) Place the ibm-webservicesclient-ext.xmi and ibm-webservicesclient-bnd.xmi file in the WEB-INF subdirectory, if your application uses these files.</p></li>
|
|
|
|
<li><p>Save the application.</p></li>
|
|
|
|
<li><p><a href="wsdevddclient.htm">Configure the webservicesclient.xml deployment descriptor</a>.</p></li>
|
|
</ol>
|
|
|
|
</body>
|
|
</html>
|