Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Web Tools Guide
Previous Page Home Next Page

Adding a port to a service

A port defines an individual endpoint by specifying a single address for a binding. The port contains a 'binding' attribute that references a binding and an address element that provides a specification for the endpoint.

Services are used to group sets of related ports together. Ports within a service have the following relationship:

  • None of the ports communicate with each other (for example, the output of one port is not the input of another).
  • If a service has several ports that share a port type, but employ different bindings or addresses, the ports are alternatives. Each port provides semantically equivalent behavior (within the transport and message format limitations imposed by each binding).
  • You can determine a service's port types by examining its ports. Using this information, a user can determine if a given machine supports all the operations needed to complete a given task.

To add a port to a service, complete the following steps:

  1. In the Design view, right-click the service you want to add a port to, then click Add Port.
  2. Fill in the Name for the port. The name of the port should provide it with a unique name amongst all the ports defined within the service.
  3. Select a Binding and Protocol for the port, and enter the address of the port into the Address field. Click Finish. To select the new port, click the port in the service object. You can change the information you entered about this port any time in the General pane.
  4. Type any information about the port you want the user to read in the Documentation pane of the Properties view.
  5. To manage extensions, click the Extensions pane. You can either add, sort, or remove extensions.

You can create a new binding for your port, re-use an existing one, or import one. A Binding defines the message format and protocol details for operations and messages defined by a particular port type. For more information, see Sethtml a binding .

You can also create a port using the Outline view by right-clicking your service under the Services folder and clicking Add Port. Your port (regardless of which view you create it in) will appear in both the Design view and the Outline view.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire