[Version 5.0.2 and later]Deploying Web services based on Web Services for J2EE

Before you begin

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 enterprise archive (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.

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.

Why and when to perform this task

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

Steps for this task

  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 application server.

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



Searchable topic ID:   twbs_deployapp2
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/twbs_deployapp2.html

Library | Support | Terms of Use | Feedback