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...
- Start the Assembly Toolkit.
- Right-click on the EJB project to be enabled.
- Click Web Services > Endpoint Enabler.
- Specify the transport and router module names in the corresponding fields.
- 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 ishttp://host[:port]/context-root/services/port-component-name
Deploy the EAR file into WAS.
See AlsoAssembling Web services applications based on Web Services for J2EE