Prerequisites:
The Web Service wizard assists you in creating a new Web service, configuring it for deployment, and deploying the Web service to a server. Once your Web service is deployed, the wizard assists you in generating the client proxy and sample application to test the Web service. When you have completed testing, you can publish your Web service to a UDDI Business Registry using the Export wizard.
For more information on EJB application development, refer to EJB tools.
Note: Rational Developer products support enterprise bean Web service creation from stateless session enterprise beans.
The Web service you are creating acts as a client to the enterprise bean. The enterprise bean must be deployed before launching the Web service wizard.
To create a Web service from an enterprise bean:
Alternatively, you can launch the Web Service wizard from the J2EE perspective by selecting the enterprise bean from which you will create your Web service and following the remaining steps.
Note: The Browse Enterprise Beans dialog box displays only the Enterprise Application projects that contain the selected Web project. The dialog can only be used to select those enterprise beans and EJB Projects that are contained in the same Enterprise Application project as the Web project.
Important: If your methods contain types, not supported by the sample, such as arrays, indexed properties, and collections, the methods will be omitted from the sample and you will receive a warning message.
Once you have created your Web service from an enterprise bean, you may test the methods of your Web service, using the Universal Test Client, and then publish your Web service to a UDDI Business Registry. For more information on testing and publishing your applications, refer to the Server tools documentation.
For more information on EJBs, refer to the EJB application development documentation.
Related Concepts
Tools for Web services development
Web services development
Web services run-time environments
Related Tasks
Developing Web services
Using the Web Services Explorer
Related Reference
Deployment properties
Mapping properties
WSDL documents