Choose Service page

The Choose Service page of the Edit Enterprise Bean Wizard will display as part of the wizard when you have selected to expose the bean as a Web Service Endpoint on the Configuration Options page of this wizard. As the web service endpoint must be contained within a web service, this page is used to either define a new service or to select an existing service that will contain this endpoint. The Web service endpoint handles all incoming SOAP requests and delegates to the business logic exposed in the EJB tier, possibly through a Session Facade design pattern in the EJB tier. The Web service interface when implemented in this manner gives you several advantages, since it:

Select a Web Service to Contain the Endpoint

You can choose to add this web service endpoint to an existing web service, or to define a new web service.

To add this web service endpoint to an existing web service:

  1. Select Add to Existing Service - this option will be grayed out if no web service has been defined.
  2. Select the service to which you want to add this endpoint from the drop-down list.

To define a new web service to which to add this web service endpoint:

  1. Select Define New Service.
  2. Select the File from the drop-down list. This list displays all WSDL files that have been defined for the module.
  3. Select the for the service. The Mapping File drop-down list contains a set of mapping files defined in the module, for example, web.xml.
  4. Enter the Service Name in the text box.
  5. Enter the Service Display Name in the text box. The display name for the web service is entered as defined in the WSDL file.
  6. Optionally, add a Description of the new service by selecting the Description button.

Legal Notices.