Overview
WebSphere Application Server uses Java™ Web
services standards developed for Java under the Java Community Process (JCP). These standards
are Java API
for XML-based RPC (also known as JAX-RPC or JSR 101) and Web services for
J2EE (JSR 109 and JSR 921). JAX-RPC covers the programming model and bindings
for using WSDL-based Web services in Java. Web services for J2EE covers the use
of JAX-RPC in a J2EE environment, as well as the implementation and deployment
of Web services implementations in a J2EE server. JAX-RPC and JSR-109 are
applicable to the J2EE 1.3 release, while JAX-RPC and JSR-921 are applicable
to J2EE 1.4.
Development artifacts enable an enterprise bean or Java bean
module to be a Web service. To create a Web service from an enterprise bean
or Java bean
module, the following files are added to their JAR or WAR module at development
time:
- Web Services Definition Language (WSDL) XML
- The WSDL XML file describes the Web service being implemented.
- Service Endpoint Interface (SEI)
- SEI is the Java interface corresponding to the Web service port
type being implemented. It is defined by the JAX-RPC, which specifies the
language mapping from WSDL 1.1 to Java.
- webservices.xml
- The webservices.xml file is the J2EE (JSR 109) Web service deployment
descriptor specifying how the Web service is implemented. It is defined in
section 7.1 of the Web Services for J2EE specification.
- JAX-RPC mapping file
- The JAX-RPC Mapping deployment descriptor specifies how Java elements
are mapped to and from WSDL elements. It is defined in section 7.3 of the
Web Services for J2EE specification.
- ibm-webservices-bnd.xmi and ibm-webservices-ext.xmi
- These files contains WebSphere-specific deployment information primarily
for secure Web services.
The following files are added to the application client
or Web module at assembly time so that a J2EE application client can access
Web services:
- WSDL
- 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 Java API for XML-based RPC (JAX-RPC). These bindings
are the SEI, which is 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
generated by Web services using J2EE 1.3. It describes the services being
accessed. It is defined in section 7.2 of the Web Services for J2EE specification.
Web services generated using J2EE 1.4 do not create a webservicesclient.xml
file, instead place the client descriptor information in the J2EE deployment
descriptors such as web.xml ejb-jar.xml, and application-client.xml.
- ibm-webservicesclient-bnd.xmi and ibm-webservicesclient-ext.xmi
- These files contains WebSphere product-specific deployment information
such as security information. The WebSphere deployment descriptors are
discussed in more detail in: Configuring Web services deployment descriptors.
- Other JAX-RPC binding files
- Additional JAX-RPC binding files that support the client application in
mapping Simple Object Access Protocol (SOAP) and WSDL to Java are
generated from WSDL by the WSDL2Java tool.
Note: webservicesclient.xml, ibm-webservicesclient-bnd.xmi
and ibm-webservicesclient-ext.xmi are used only when running Web service clients
in a container-managed environment, and are not used when running Web service
clients in a non-managed environment. Therefore secured Web services can only
be accessed from Web service clients running in a container-managed environment,
otherwise the required security information is unavailable to the client.