Artifacts used to develop web services

With development artifacts, you can develop an enterprise bean or a JavaBeans module into web services that are based on the Web Services for Java™ Platform, Enterprise Edition (Java EE) specification.

To create a web service from an enterprise bean or from a JavaBeans module, the following files are added to the respective Java archive (JAR) file or web application archive (WAR) modules at assembly time:
  • Web Services Description Language (WSDL) Extensible Markup Language (XML) file

    The WSDL XML file describes the web service that is implemented.

  • Service Endpoint Interface

    A Service Endpoint Interface is the Java interface corresponding to the web service port type implemented. The Service Endpoint Interface is defined by the Java API for XML Web Services (JAX-WS) or Java API for XML-based RPC (JAX-RPC) web services run time that you are using.

  • webservices.xml

    The webservices.xml file contains the Java EE deployment descriptor of the web service specifying how the web service is implemented. The webservices.xml file is defined in the Web Services for Java EE specification.

    對於 JAX-WS Web 服務,webservices.xml 部署描述子是選用的,因為您可以利用註釋來指定部署描述子檔所包含的所有資訊。 您可以使用部署描述子檔來擴增或置換現有的 JAX-WS 註釋。 webservices.xml 部署描述子所定義的任何資訊會置換註釋所指定的任何對應資訊。

    For JAX-RPC applications, deployment descriptors are required to specify how the web service is implemented.

  • ibm-webservices-bnd.xmi (JAX-RPC applications only)

    This file contains WebSphere® product-specific deployment information and is defined in the ibm-webservices-bnd.xmi deployment descriptor. assembly properties. See the JAX-RPC web services deployment descriptor settings information to learn more about this deployment descriptor.

  • Java API for XML-based remote procedure call (JAX-RPC) mapping file

    The JAX-RPC mapping deployment descriptor specifies how Java elements are mapped to and from WSDL file elements.

The following files are added to an application client, enterprise beans or web module to permit a Web Services for Java Platform, Enterprise Edition (Java EE) client access to web services:
  • WSDL file

    The WSDL file is provided by the web service implementer.

  • Java interfaces for the web service

    The Java interfaces are generated from the WSDL file as specified by the JAX-WS or JAX-RPC specification. These bindings are the Service Endpoint Interface based on the WSDL port type, or the service interface, which is based on the WSDL service.

  • ibm-webservicesclient-bnd.xmi (JAX-RPC applications only)

    This file contains WebSphere product-specific deployment information, such as security information for JAX-RPC applications. For JAX-WS applications, deployment descriptors are not supported and have been replaced by the use of annotations.

  • Other JAX-RPC binding files

    Additional JAX-RPC binding files that support the client application in mapping SOAP to the Java language are generated from WSDL by the WSDL2Java command tool.


指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:13
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwbs_devartifacts
檔名:rwbs_devartifacts.html