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.
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.
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.
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.
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.
Optionally, you can define a set of handlers for the
service. Click Handlers button, the Handlers dialog
box is displayed.
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.
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.
Optionally, you can provide a description for the Web
Service Reference. Click Description and enter the text.