Artifacts used to develop Web services

With development artifacts one can develop an enterprise bean or a Java bean module into a Web service. This topic describes artifacts used to develop Web services that are based on the Web Services for Java 2 Platform, Enterprise Edition (J2EE) specification.

To create a Web service from an enterprise bean or a Java bean module, the following files are added to the respective JAR file or 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 WSDL 1.1 World-Wide Web Consortium (W3C) Note.

  • webservices.xml

    The webservices.xml file contains the J2EE deployment descriptor of the Web servicespecifying how the Web service is implemented. The webservices.xml file is defined in the Web Services for J2EE specification available through Web services: Resources for learning

  • ibm-webservices-bnd.xmi

    This file contains WebSphere product-specific deployment information and is defined in ibm-webservices-bnd.xmi assembly properties.

  • 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 J2EE 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-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

    This file contains WebSphere product-specific deployment information, such as security information.

  • 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.


 

Related Tasks


Developing Web services applications
Developing a new Web service with an existing WSDL file using JavaBeans technology
Developing new Web services from an existing WSDL file using an EJB implementation
Developing a Web service from a Java bean
Developing a Web service from an enterprise bean

 

See Also


ibm-webservices-bnd.xmi assembly properties
Web services: Resources for learning