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.
Before you begin
Prerequisites:
- Create an EJB project and add it to a new EAR project.
- Create or import a v2.x enterprise bean into your EJB project.
The JAX-PRC runtime does not support the development of web services
from EJB 3.0 beans.
- Deploy your enterprise bean. To do this right-click on the EJB
project and select Deploy.
- Create an empty Web project if you are using SOAP over HTTP as
your transport methods, or an EJB project if you are using SOAP over
JMS as your transport method, to act as the router project. The project
you create must be added to the same EAR as the EJB project containing
the enterprise bean. For more information on router modules refer
to Creating router
modules.
- If you want to use SOAP over JMS, you must create a server and
server configuration for JMS as described in Create a server and server configuration for SOAP over
JMS.
- It is strongly suggested that you start the WebSphere® Application Server before running
the Web service wizard since it may take several minutes to start
the depending on the speed of your computer. To start the server,
select it in the Servers view (Window > Show View > Servers),
right-click and click Start.
- For more information on EJB application development, refer to
Developing Enterprise Applications in the infocenter.
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.
About this task
Note: This product supports enterprise bean web
service creation from stateless session enterprise beans.