Develop a new Web service with an existing WSDL file using JavaBeans technology
This task explains how to develop a new Web service with an existing Web Services Description Language (WSDL) file using the JavaBeans technology.
Before you begin
Locate the WSDL file that defines the Web service to be implemented. We 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 one can develop a Web service. We 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.
Develop a new Web service with an existing WSDL file using JavaBeans technology with the following steps:
Procedure
- 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.
- Configure the webservices.xml deployment descriptor. Configure the ibm-webservices-bnd.xml deployment descriptor so that WAS 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 WAS can process the incoming Web services requests.
- Assemble a Web archive (WAR) file when starting from a WSDL file.
This article explains how to assemble the artifacts required to enable the Web module for Web services are added to the WAR file.
- Assemble a Web services-enabled WAR into an EAR file.
This topic explains how to assemble the artifacts required to enable the Web module for Web services that are added to the EAR file.
- Deploy the EAR file into WebSphere Application Server.
This topic presents the steps necessary to deploy the EAR file that has been configured and enabled for Web services.
Result
You have a new Web service with an existing WSDL file using JavaBeans technology
What to do next
After you deploy the EAR file, test the Web service to make sure that it works with WebSphere Application Server.
See also
Developing Web services deployment descriptor templates for a JavaBeans implementation
Related Tasks
Completing the JavaBeans implementation
Configuring the webservices.xml deployment descriptor
Configuring the ibm-webservices-bnd.xmi deployment descriptor
Developing a Web service from a Java bean
Developing 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
See Also
Artifacts used to develop Web services