Operating Systems: i5/OS
Personalize the table of contents and search results
Develop Web services applications from existing WSDL files with
JavaBeans
You can develop a new Web service with an existing Web Services
Description Language (WSDL) file using JavaBeans.
Locate the Web Services Description Language (WSDL) file that defines
the Web service that you want to implement. You can develop a WSDL or obtain
one from an existing Web service through e-mail, downloading or a Uniform
Resource Locator (URL).
Overview
This
task is one of four ways that you can develop a JAX-RPC Web service. You can
also develop a Web service from an enterprise bean, develop a Web service
from a Java bean, or develop a Web service with an existing WSDL file using
an enterprise bean.
Procedure
- Set up a development
environment for Web services. You do not have to set up a development
environment if you are using Rational Application Developer.
- Develop JavaBeans implementation templates and bindings from a
WSDL file. You need to complete this step to create the
deployment descriptor templates that are configured to map the service implementation
to the JavaBeans implementation.
- Complete the JavaBeans implementation. When
you complete the JavaBeans implementation, you are assembling a Java archive
(JAR) file that contains a JavaBeans implementation and supported classes
created from the WSDL file.
- Configure the webservices.xml deployment descriptor.
Configure the ibm-webservices-bnd.xml deployment descriptor
so that WebSphere Application Server can process the incoming Web services
requests.
- Configure the ibm-webservices-bnd.xmi deployment descriptor.
Configure the ibm-webservices-bnd.xml deployment descriptor
so that WebSphere Application Server can process the incoming Web services
requests.
- Assemble a Web
archive (WAR) file when starting from a WSDL file. You can
assemble the artifacts that are required to enable the Web module for Web
services into a WAR file.
- Assemble a Web
services-enabled WAR into an enterprise archive (EAR) file. You
can assemble the artifacts that are required to enable the Web module for
Web services into an EAR file.
- Deploy the enterprise
archive (EAR) file into WebSphere Application Server. You
can now deploy the EAR file that has been configured and enabled for Web services.
Results
You have created a new Web service by starting with an existing WSDL
file using JavaBeans.
What to do next
After you deploy the EAR file, test the Web service to make sure that it works with the
application server.
}
Developing Java artifacts for JAX-RPC applications from a WSDL file
Related tasks
Completing the JavaBeans implementation
Developing Web services applications from JavaBeans
Developing JAX-RPC Web services deployment descriptor templates for
a JavaBeans implementation
Assembling a Web services-enabled WAR file from a WSDL file
Assembling a Web services-enabled WAR into an EAR file
Deploying Web services applications onto application servers
Related Reference
Artifacts used to develop Web services
Web services specifications and APIs
|