Deploying Web services based on Web Services for J2EE

 

Overview

To deploy Web services that are based on the Web Services for Java 2 platform, Enterprise Edition (J2EE) specification, you need an enterprise application, also known as an EAR file that has been configured and enabled for Web services. You can use either the administrative console or the wsadmin scripting interface to deploy an EAR file.

If you are installing an application containing Web services by using the wsadmin command, specify the -deployws option. If you are installing an application containing Web services by using the administrative console, select Deploy WebServices during step 1 of the Install New Application wizard. For more information about installing applications using the administrative console see Installing a new application.

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.

 

Overview

Use the following steps to deploy the EAR file with the wsadmin command:

  1. Start install_root\bin\wsadmin from a command prompt. If you are using UNIX start install_root/bin/wsadmin.

  2. Enter the $AdminApp install EARfile "-usedefaultbindings -deployws" command at the wsadmin prompt.

 

Results

The Web service is installed into the appserver.

 

What to do next

Secure Web services.


Related tasks
Publishing WSDL files
Securing Web services based on WS-Security
Implementing Web services based on Web Services for J2EE
Related reference
wsdeploy command