Use the endptEnabler command-line tool to enable an enterprise archive (EAR) file for Enterprise JavaBeans (EJB) modules that contain Web services and to specify whether the Web services are exposed using SOAP over Java™ Message Service (JMS) or SOAP over HTTP.
Before doing this task, you need to assemble a Web services-enabled enterprise Java archive (JAR) into an EAR file.
The endptEnabler command-line tool adds one or more router modules to the EAR file for each Java API for XML Web Services (JAX-WS) or Java API for XML-based RPC (JAX-RPC) based Web service-enabled enterprise bean Java archive (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 JMS. An HTTP router module is a Web Archive (WAR) module that provides an HTTP endpoint for each of the Web services contained within a particular enterprise bean JAR module. Likewise, a JMS router module is an enterprise bean JAR module that contains a Message Driven Bean (MDB) that serves as the message listener for requests intended for the Web service endpoints.
If no enterprise bean JAR modules exist in the EAR file, it is not necessary to use this tool.
http://host[:port]/<context-root>/services/<port-component-name>
Ensure that you install the HTTP or Java Message Service (JMS) router module that you generated with the endptEnabler command onto the same target as your Web services enterprise bean JAR files. These HTTP or JMS router modules are included in your Web services application and they need to use the runtime libraries of the application server.
Deploy the EAR file onto your application server. An assembled EAR file that is enabled for Web services is required for deployment.
If you are using JMS as a transport for your Web service requests, define the various JMS objects such as queues, topics, or connection factories, that will be used by your application prior to installing the application.
In this information ...Subtopics
| IBM Redbooks, demos, education, and more(Index) |