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

30 lines
1.6 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>Develop implementation templates, deployment descriptor templates, and bindings from a WSDL file</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3><a name="wsdevimpltemp"></a>Develop implementation templates, deployment descriptor templates, and bindings from a WSDL file</h3>
<p>To develop the deployment descriptor templates from a Web Services Description Language (WSDL) file, you must obtain the Uniform Resource Locator (URL) of the WSDL file to use. If it is a local file, the URL has this format:</p>
<pre>file:/<em>path</em>/<em>file_name</em>.wsdl</pre>
<p>where <em>path</em> is the directory path that contains the file, and <em>file_name</em> is the name of the wsdl file. You can also specify local files using the absolute or relative file system path.</p>
<p>To generate implementation templates, bindings, and deployment descriptors, specify the <tt>-role develop-server</tt> parameter and the <tt>-container</tt> parameter when you run the WSDL2Java command:</p>
<pre>WSDL2Java -verbose -role develop-server -container <em>type</em> <em>wsdlURL</em></pre>
<p>where <em>type</em> is <tt>Web</tt> for a Java bean-based implementation, and <em>wsdlURL</em> is the URL of the WSDL file.</p>
<p>If you specify the verbose parameter, the command displays a list of all generated files</p>
</body>
</html>