Enable a Web services-enabled EAR file with the Assembly Toolkit

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) JAR module.

Each router module supports a specific transport such as 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. To enable a Web services-enabled EAR file with the Assembly Toolkit...

  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.

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

Deploy the EAR file into WAS.

 

See Also

Assembling Web services applications based on Web Services for J2EE