WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Completing the JavaBeans implementation

This task explains how to complete the JavaBeans implementation after you have developed the deployment descriptor bindings and the bindings necessary to develop a Web service.

Before you begin

Develop JavaBeans implementation templates and bindings from a Web Services Description Language (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. This task is a required step in developing a Web service from a Java bean.

Why and when to perform this task

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.

Complete the JavaBeans implementation by following the steps provided in this task section.

Steps for this task

  1. Edit the JavaBeans implementation template, bindingImpl.java. Where binding is the name of the <wsdl:binding> element in the WSDL file.
    1. Complete the implementation of the methods in the template.
    2. (Optional) Make changes if necessary.
    3. (Optional) Change the class name if the binding name is not acceptable.
  2. Compile all the Java classes.
  3. Assemble a Web archive (WAR) file. Assemble all the Java classes into a WAR file using Web module assembly tools. Include all of the classes generated from running the WSDL2Java command tool when developing implementation templates and bindings from a WSDL file.

Result

You have a Java archive (JAR) file containing the JavaBeans implementation and supported classes created from the WSDL file.

What to do next

You need to configure the webservices.xml deployment descriptor and configure the ibm-webservices-bnd.xmi deployment descriptor so that WebSphere Application Server can process the incoming Web services requests.



Related tasks
Assembling applications
Developing Web services deployment descriptor templates for a JavaBeans implementation
Configuring the webservices.xml deployment descriptor

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/twbs_JBimp.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)