Ports provide a way for information to flow into and out of the system. Each port is then associated with an endpoint appropriate for the type of service and is associated with a Port Type.
One or more ports are defined for each service that contains a one-way (send) operation.
For services that contain a notification (receive) operation, a port can be added during the Define phase. The transports associated with this port define input transports for the runtime instance on which the package is deployed and run. You can define input transports during the Design phase, or later during the Configure phase.
Note: Before you can add a port to a service, the service must have a port type defined. If the service does not have a port type, see Adding a Port Type.
Add a port using one of these methods:
Add a port when you define a new service using the New Service Wizard (Service>Show>WSDL Structure)
Add a port after the service has been defined using these steps for the Add Port Wizard:
Double-click on the WSDL file to open in the Service Editor or right-click and open with the selected editor.
Using the Service
Editor in Service Info mode (Service>Show>Service Info), right-click
on a Ports folder and select Add Port or
in WSDL Structure mode (Service>Show>WSDL Structure), right-click
on a Port Type and select Add Port.
Add a port after the project has been packaged and delivered to a runtime instance.
In the Server Explorer, click to expand the runtime instance and the package nodes. The package node displays for Business Processes and Endpoints included in the package.
Right-click on the Endpoints folder and select Properties. The Properties for Endpoints window displays.
Click to expand the iface node for the service for which you want to define or modify a port.
Click the Add Port button to add a port. The Add Port Wizard guides you through the steps.
Without closing the Properties for Endpoints configuration window, you can follow the procedure for binding service endpoints.
Notes: Ports can
be added using either of these methods, however, one-way ports can be
removed only using the first method. One-way ports cannot be removed after
the package has been delivered to the runtime instance.
When a port is added during the Configure phase, the port definition is
updated in the service's wsdl if the project resides in the workspace.
The text editor, however, does not automatically refresh. So, it can appear
that the wsdl is not synchronized with the runtime instance when it actually
is synchronized. To refresh the text editor, close and re-open the Unwired
Orchestrator tooling.
To redeploy, the package must be regenerated before it is delivered to
the instance for redeployment.
To review changes in a wsdl for a service, right-click on the wsdl file
in the Orchestration Navigator, select Compare With, and select Local
History.