This task explains how to develop a Web service from a Java bean.
Why and when to perform this task
This task is one of four ways that you can develop a Web service. You can also develop a Web service from an enterprise bean, develop a Web service with an existing Web Services Description Language (WSDL) file using a Java bean, or develop a Web service with an existing WSDL file using an enterprise bean. In this task, you need develop a new WSDL file.
You can use a Java bean that already exists and then enable the implementation for Web services. Enabling the Java bean for Web services includes developing the service endpoint interface, developing a WSDL file that is the engine of the Web service, generating and configuring the deployment descriptors, assembling all artifacts required for the Web service, and deploying the application into the WebSphere Application Server environment.
Develop a Web service from a Java bean by following the task steps provided in this section.
Steps for this task
This topic presents the steps necessary to deploy the EAR file that has been configured and enabled for Web services.
Result
You have a Web service developed from a Java bean.What to do next
After you deploy the EAR file, test the Web service to make sure that it works with WebSphere Application Server.Related concepts
Web services
Related tasks
Assembling Web services applications
Assembling a WAR file that is enabled for Web services from Java code
Assembling a Web services-enabled WAR into an EAR file
Deploying Web services
Developing a new Web service with an existing WSDL file using JavaBeans
technology
Setting up a development and unmanaged client run-time environment
for Web services
Related reference
Artifacts used to develop Web services