Available in...
Open Studio for ESB
About this task
If you want to create a new port type for your binding, complete the following steps:
Procedure
-
In the design workspace, right click on a binding object and click
Set PortType>New PortType.
-
The New PortType wizard displays.
Type the name of the port type in the Name field. The name should be unique name among all
port types defined within the enclosing WSDL file. Click OK.
The new port type is created and connected to the binding in the design workspace.
-
Click the port type object you just created in the design workspace to
show its Properties view.
-
The General tab allows you to define
the name of the port type. To specify the name of the port type, type it
in the Name field or click the bulb
icon beside the Name field to open the
Rename wizard.
When clicking on the bulb icon, a Save All Modified Resources dialog box displays prompting you to save all modified resources before proceed.Click OK and the Rename wizard appears.Type in a new name in the New name field. Select the Update references check box to propagate this change to the enclosing WSDL file. Click Preview to have a look at the original source and the refactored source. Click OK to validate the renaming and close the wizard.
-
Type any information about the port type you wish the user to read in
the Documentation tab.
- To manage extensions, click the Extensions tab. You can either add, sort, or remove extensions.
Results
Once you have created a port type, you can add operations to it to can send and receive messages. For more information, see Creating a new binding.