The Endpoint Enabler enables a set of Web services within an Enterprise
Application Archive (EAR) file. For each Web service-enabled EJB JAR in the
EAR file, it adds an HTTP router, a JMS router, or both to the EAR. Each router
module provides a Web service endpoint for a particular transport. For example,
an HTTP router module may be added so that the Web service can receive requests
over the HTTP transport, and a JMS router module may be added so that the
Web service can receive requests from a JMS queue or topic.
Prerequisites: To use the Endpoint Enabler, you must have an EAR
project that contains a Web service-enabled EJB project.
To create a router module using the Endpoint Enabler:
- Select one of the following:
- An EJB project that contains a session bean
- An EAR project. If you select an EAR, all the EJB projects contained
within the EAR will use the selected router specifications.
- An EJB object
- A webservices.xml file
- An ejb-jar.xml file
- Right-click the selected element, select Web Services >
Endpoint Enabler.
- Select which type of transports you want to use: HTTP, JMS, or
both. Enter the router module names and any other information required
to enable the type of transport you want to use, or accept the defaults. ClickOk.
After running Endpoint Enabler, a Web project for the HTTP router
or an EJB project for the JMS router will be created, depending on what transports
were used.