Deploy Web services

Use either the administrative console or the wsadmin scripting interface to deploy a J2EE Web service.

Note: If the Web services in the application is previously deployed with the wsdeploy command, it is not necessary to specify Web services deployment during installation.

Use the administrative console

To deploy the Web services-enabled application with the administrative console, follow the installation process in Install and uninstall applications. In step 1 of the Install New Application wizard, select Deploy WebServices.

Use wsadmin

To deploy the EAR file with wsadmin, follow these steps:

  1. Start wsadmin.
  2. At the wsadmin prompt, run the $AdminApp install command. You must specify the -deployws parameter. In this example, myWSApp is the name of the Web services-enabled EAR file:
    $AdminApp install myWSApp "-usedefaultbindings -deployejb -deployws"

For information on deploying SOAP Web services, see Deploy a programming component as a SOAP accessible Web service (Versions 5.0 and 5.0.1 only)