+

Search Tips   |   Advanced Search

 

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 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

  1. 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.

  2. Develop JavaBeans implementation templates and bindings from a WSDL file. We need to complete this step to create the deployment descriptor templates that are configured to map the service implementation to the JavaBeans implementation.

  3. Complete the JavaBeans implementation.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. Deploy the enterprise archive (EAR) file into WAS. 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 appserver.



Developing Java artifacts for JAX-RPC applications from a WSDL file

 

Related tasks


Completing the JavaBeans implementation
Configure the webservices.xml deployment descriptor
Configure the ibm-webservices-bnd.xmi deployment descriptor
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 appservers

 

Related Reference


Artifacts used to develop Web services
Web services specifications and APIs