Add/Edit Web Services References

Web Services Reference tabbed pane -> Web Service Reference section -> Add/Edit button

The Web Services References dialog box enables you to add or edit references to Web services. This is required if your application is going to interact with any web service.

  1. Enter the name that represents the service as it appears in your code in the Code Name field. The display name for the web service reference is filled in the Display Name field as it is defined in your file.
  2. Select the service interface for the service. The Service Interface drop-down list contains the list of service interfaces in the module. A service endpoint interface declares the methods that a remote client may invoke on the service.
  3. Optionally, you can associate a WSDL file for the service. The WSDL File drop-down list contains a set of wsdl files in the module.
  4. Optionally, you can associate a for the service. The Mapping File drop-down list contains a set of mapping files in the module. For example, web.xml.
  5. Optionally, you can define a set of handlers for the service. Click Handlers button, the Handlers dialog box is displayed.
  6. Optionally, you can provide qualified name (QName) to identify the desired service when more than one service is defined in the WSDL file. The Service QName consists of two parts, Prefix and a Local Part. The Prefix provides the namespace prefix part of the qualified name, and is associated with a namespace URI reference in a namespace declaration. The LocalPart provides the local part of the qualified name.
  7. Optionally, you can define the mapping between service endpoint interfaces and port components for the service. Click the Container Managed Ports button, and define the mapping in the Container Managed Ports dialog box.
  8. Optionally, you can provide a description for the Web Service Reference. Click Description and enter the text.
  9. To define the deployment settings for the module, click Sun-specific Settings button. Enter the settings in the Web Service Reference- Sun-specific Settings dialog box.

See also

Container Managed Ports

Handlers

Web Service Reference - Sun-specific Settings



Legal Notices