Deploying a Web Service
See Also
Unless the module (EJB module or web application module) in which the web service
is implemented is designed to be deployed as a stand-alone module, you should
always deploy it by deploying the enterprise application that contains it. If
you run the Run or Deploy commands on an individual module that
is part of an enterprise application, the IDE only deploys that module itself.
Any changes you have made in the other modules in the project are not propagated
to the server.
To expose a web service from within an enterprise application project:
- In the Projects window, add the web application module
or add the EJB module to the enterprise application.
- Right-click the enterprise application project and choose one of the
following:
- Run. Only takes the
minimal steps needed to run the project. For example, if you only changed one file,
only that file is sent to the server.
- Deploy. Undeploys and then deploys the complete module
no matter what changes you made, even if none.
To expose a web service from within a module project:
- Right-click the module project and choose one of the
following:
- Run. Only takes the
minimal steps needed to run the project. For example, if you only changed one file,
only that file is sent to the server.
- Deploy. Undeploys and then deploys the complete module
no matter what changes you made, even if none.
- See Also
- About Web Services
- About Deploying and Testing Web Services
- Testing a JAX-WS Web Service
- Viewing the Published WSDL File
Legal Notices