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
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 W3C Note.
- webservices.xml
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
- 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 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.
- webservicesclient.xml
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.
- 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 Java language are generated from WSDL by the WSDL2Java command tool.
See Also
Developing 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