[Version 5.0.2 and later]Enabling a Web services-enabled EAR file with the Assembly Toolkit

Before you begin

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

You can add one or more router modules to your Web services-enabled application, also known as an EAR file with the Assembly Toolkit. The Assembly Toolkit replaces the Application Assembly Toolkit (AAT) and is a component of the Application Server Toolkit (ASTK) product.

A router module provides an endpoint for the Web services in a particular Enterprise JavaBean (EJB) Java archive (JAR) module.

Each router module supports a specific transport such as HyperText Transport Protocol (HTTP) or Java Messaging Service (JMS). If there are no EJB JAR modules in the EAR file, it is not necessary to use these tools.

Why and when to perform this task

To enable a Web services-enabled EAR file with the Assembly Toolkit:

Steps for this task

  1. Start the Assembly Toolkit.
  2. Right-click on the EJB project to be enabled.
  3. Click Web Services > Endpoint Enabler.
  4. Specify the transport and router module names in the corresponding fields.
  5. Click OK.

Results

An HTTP or JMS router module is added to the EAR file for each Web services-enabled EJB JAR module contained in the EAR file. For HTTP, a context-root is configured for the application so the Web service can be invoked through a URL. The URL 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.

Related tasks
Assembling Web services applications based on Web Services for J2EE



Searchable topic ID:   twbs_endptenableratk
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/twbs_endptenableratk.html

Library | Support | Terms of Use | Feedback