42 lines
2.9 KiB
HTML
42 lines
2.9 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 webservices.xml deployment descriptor</title>
|
||
|
</head>
|
||
|
|
||
|
<BODY>
|
||
|
<!-- Java sync-link -->
|
||
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
||
|
|
||
|
<h3><a name="wsdevddweb"></a>Configure the webservices.xml deployment descriptor</h3>
|
||
|
|
||
|
<p>To configure the webservices.xml deployment descriptor, follow these steps:</p>
|
||
|
|
||
|
<ol>
|
||
|
<li><p>Open the webservices.xml deployment descriptor in a text editor.</p></li>
|
||
|
<li><p>Specify appropriate values for the file elements.
|
||
|
<br>Most of the file elements contain default values. Elements that do not have default values are flagged with "??" in the XML file. Set values for these elements:</p>
|
||
|
<ul>
|
||
|
<li><p>The <webservice-description-name> element
|
||
|
<br>This name must be unique within the XML file if there are multiple webservice-description elements. This name is used as part of the directory structure for naming published WSDL files when publishing files during deployment.</p></li>
|
||
|
<li><p>The <wsdl-file> element
|
||
|
<br>Change the tag element from the full path within the Web archive (WAR) file to the WSDL file defining the Web service being implemented. By convention, the WSDL file is placed in the WEB-INF/wsdl subdirectory for Web modules.</p></li>
|
||
|
<li><p>The <jaxrpc-mapping-file> element
|
||
|
<br>Set this element to the full path within the WAR file to the generated Java API for XML-based remote procedure call (JAX-RPC) mapping file. By convention, the mapping file is placed in the WEB-INF subdirectory for Web modules.</p></li>
|
||
|
<li><p>The <port-component-name> element
|
||
|
<br>Change the element to a string that uniquely identifies the port within the module.</p></li>
|
||
|
<li><p>The <wsdl-port> element
|
||
|
<br>This identifies the port in the WSDL file that corresponds to this deployment descriptor port. The <namespaceURI> subelement indicates the namespace portion of the WSDL port name. Set this element to the namespace of the matching port in the WSDL file identified by the <wsdl-file> element. This namespace is typically the target namespace in the WSDL file. The <localpart> subelement indicates the local portion of the WSDL port name. Set this element to the name of the matching WSDL port.</p></li>
|
||
|
<li><p>The <service-endpoint-interface> element
|
||
|
<br>Set this element to the class name, including package, of the Java interface that is the Service Endpoint Interface for the Web service.</p></li>
|
||
|
<li><p>The <service-impl-bean> tag (if the Web service implementation is a Java bean in a Web module)
|
||
|
<br>Set the <servlet-link> element to reference the bean that implements the methods of the Service Endpoint Interface.</p></li>
|
||
|
</ul><p></p></li>
|
||
|
</ol>
|
||
|
|
||
|
</body>
|
||
|
</html>
|