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

56 lines
3.7 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>Web services development artifacts</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><a name="wsdevobj"></a>Web services development artifacts</h4>
<p>Development artifacts enable a Java bean module to be a Web service. To create a Web service from a Java bean module, these files are added to the Web archive (WAR) modules when you assemble the application:</p>
<ul>
<li><p><strong>Web Services Description Language (WSDL) XML</strong><br>
The WSDL XML file describes the Web service.</p></li>
<li><p><strong>Service Endpoint Interface</strong><br>
A Service Endpoint Interface is the Java interface that corresponds to the Web service port type that is implemented. The Service Endpoint Interface is defined by the <a href="http://www.w3.org/TR/wsdl">WSDL 1.1 W3C Note</a>. <img src="www.gif" width="18" height="15" align="absbottom" alt="Link outside Information Center" border="0"></p>
<li><p><strong>webservices.xml</strong><br>
The webservices.xml file contains the J2EE Web service deployment descriptor that specifies how the Web service is implemented. The webservices.xml file is defined in the <a href="http://jcp.org/en/jsr/detail?id=109">Web services for J2EE specification</a>.<img src="www.gif" width="18" height="15" align="absbottom" alt="Link outside Information Center" border="0">.</p></li>
<li><p><strong>ibm-webservices-bnd.xmi</strong><br>
This file contains WebSphere product-specific deployment information and is defined in <a href="wsassemprop.htm">Web services assembly properties</a>.</p></li>
<li><p><strong>Java API for XML-based remote procedure call (JAX-RPC) mapping file</strong><br>
The JAX-RPC mapping deployment descriptor specifies how Java elements are mapped to and from WSDL file elements. The JAX-RPC mapping file is defined in <a href="wsassemprop.htm">Web services assembly properties</a>.</p></li>
</ul>
<p>The following files are added to the application client module at assembly, allowing a J2EE application client to access Web services:</p>
<ul>
<li><p><strong>WSDL</strong><br>
The WSDL file is provided by the Web service implementer.</p></li>
<li><p><strong>Java interfaces for the Web service</strong><br>
The Java interfaces are generated from the WSDL file as specified by the JAX-RPC mapping file. These bindings are the Service Endpoint Interface based on the WSDL port type, or the service interface, which is based on the WSDL service.</p></li>
<li><p><strong>webservicesclient.xml</strong><br>
The webservicesclient.xml file is the client-side deployment descriptor. This file describes the services that are accessed. The file is defined in the <a href="http://jcp.org/en/jsr/detail?id=109">Web services for J2EE specification</a>.<img src="www.gif" width="18" height="15" align="absbottom" alt="Link outside Information Center" border="0"></p></li>
<li><p><strong>ibm-webservicesclient-bnd.xmi</strong><br>
This file contains WebSphere product-specific deployment information such as security information. The ibm-webservicesclient-bnd.xmi file is defined in <a href="wsassemprop.htm">Web services assembly properties</a>.</p></li>
<li><p><strong>Other JAX-RPC binding files</strong><br>
The WSDL2Java command-line tool generates additional JAX-RPC binding files based on the WSDL file. These additional files support the client application in mapping Simple Object Access Protocol (SOAP) to Java.</p></li>
</ul>
</body>
</html>