Artifacts used to develop Web services based on Web Services for J2EE
Development artifacts enable an enterprise bean or a Java bean module to be a Web service. This topic describes artifacts used to develop Web services that are based on the Web Services for 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 or Web archive (WAR) modules at assembly time:
- WSDL XML file
The WSDL XML file describes the Web service being implemented.
- Service Endpoint Interface
The webservices.xml file contains the J2EE Web service deployment descriptor specifying 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
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 following files are added to an application client, enterprise JavaBean (EJB), 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.
The webservicesclient.xml file is the client-side deployment descriptor describing the services being accessed. The webservicesclient.xml file is defined in the Web Services for J2EE specification, available through Web services: Resources for learning.
This file contains WebSphere product-specific deployment information such as security information.
- Other JAX-RPC binding files
See AlsoDeveloping Web services based on Web Services for J2EE
Developing a new Web service with an existing WSDL file using a Java bean
Developing a new Web service from an existing WSDL file using a stateless session enterprise bean
Developing a Web service from a Java bean
Developing a Web service using a stateless session enterprise bean
ibm-webservices-bnd.xmi assembly properties
Web services: Resources for learning