WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Enabling an EAR file for Web services with the endptEnabler command

This task explains how to use the endptEnabler command-line tool to enable an enterprise archive (EAR) file for Web services.

Before you begin

Before doing this task, you need to assemble a Web services-enabled enterprise Java archive (JAR) into an EAR file.

About this task

The endptEnabler command-line tool adds one or more router modules to the EAR file for each Web service-enabled enterprise bean JAR module within the EAR file. A router module provides an endpoint for the Web services in a particular enterprise bean JAR module.

Each router module supports a specific transport such as HTTP or Java Message Service (JMS). If no enterprise bean JAR modules exist in the EAR file, it is not necessary to use these tools.

Enable an EAR file with the endptEnabler command by following the actions listed in the steps for this task section.

Procedure

  1. Invoke the endptEnabler command from the install_root\bin directory. If you are using Linux or Unix platforms, invoke the command from the install_root/bin directory.
  2. Enter the name of the EAR file, when prompted.
  3. Enter various input values as requested by the endptEnabler command. You are prompted for various input values for each enterprise bean JAR module that is enabled for Web services in the EAR file. Typically, you accept the defaults for each prompt. See endptEnabler prompts and commands for more information about endptEnabler command prompts.

Results

An HTTP or JMS router module is added to the EAR file for each enterprise bean JAR module that is enabled for Web services and contained in the EAR file. For HTTP, a context-root is configured for the application so that the Web service can be invoked through a Web address. The Web address used to invoke the Web service is:
http://host[:port]/context-root/services/port-component-name

What to do next

Deploy the EAR file into WebSphere Application Server. An assembled EAR file that is enabled for Web services is required for deployment.



Sub-topics
endptEnabler command
Related tasks
Assembling Web services applications
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/twbs_endptenablerendpt.html

© Copyright IBM Corporation 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)