47 lines
2.5 KiB
HTML
47 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>Configure the webservicesclient.xml deployment descriptor</title>
|
|
</head>
|
|
|
|
<BODY>
|
|
<!-- Java sync-link -->
|
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
|
|
|
<h3><a name="wsdevddclient"></a>Configure the webservicesclient.xml deployment descriptor</h3>
|
|
|
|
<p>After you generate the webservicesclient.xml file, you may want to edit some of the values in the file. If the default values that the WSDL2Java generates are acceptable, you do not need to change any of them.</p>
|
|
|
|
<p>To configure the webservicesclient.xml deployment descriptor, follow these steps:</p>
|
|
|
|
<ol>
|
|
<li><p>Open the webservicesclient.xml deployment descriptor in a text editor.</p></li>
|
|
|
|
<li><p>For the <description> element in the <service-ref> element, specify a descriptive name for the service that the client accesses.</p>
|
|
<p><strong>Note:</strong> If your client uses more than one Web service, you must specify values in the <service-ref> element for each Web service.</p></li>
|
|
|
|
<li><p>For the <service-ref-name> element in the <service-ref> element, specify the name that the Java Naming Directory Interface (JNDI) uses to locate the service. The JNDI lookup string for this service has this format:</p>
|
|
<pre>java:comp/env/<em>service-ref-name</em></pre>
|
|
<p>where <em>service-ref-name</em> is . By convention, the value that you specify for <em>service-ref-name</em> should begin with <tt>service/</tt>.</p></li>
|
|
|
|
<li><p>For the <service-interface> element in the <service-ref> element, specify the class name, including package, of the generated Java interface that is the service interface for this Web service.</p></li>
|
|
|
|
<li><p>For the <wsdl-file> element in the <service-ref> element, specify the WSDL file name used by this client relative to the root of the module.</p></li>
|
|
|
|
<li><p>For the <jaxrpc-mapping-file> element in the <service-ref> element, specify the file name of the generated Java mapping file relative to the root of the module.</p></li>
|
|
|
|
<li><p>For the <service-endpoint-interface> element in the <port-component-ref> element, specify the class name, including package, of the Java interface that is the service endpoint interface for this Web service.</p></li>
|
|
|
|
|
|
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|