WSDL Binding

WSDL bindings are represented in Enterprise Architect by UML Classes stereotyped as WSDLbinding. Bindings should be defined under the Bindings package in the WSDL namespace structure. Each WSDLbinding Class implements the operations specified by a particular WSDLportType interface. Therefore, WSDLportTypes should be defined before creating WSDLbindings.

To define new WSDLbinding elements for your namespace, follow the steps below:

  1. Open the Overview diagram defined for your WSDL namespace package, and double-click on the Bindings package to open the Bindings diagram.
  2. Drag the Binding element from the Toolbox onto the diagram. The WSDL Binding dialog displays.
  3. Type in a Name for the Binding.
  4. Select the PortType for the Binding; the drop-down list of PortTypes is taken from those defined in the PortTypes package.
  5. Select the Protocol for the Binding, either http or soap.
  6. For SOAP Bindings, enter the Transport URL and select the Style. For http Bindings, select the Verb.
  7. Click on the OK button to close the WSDL Binding dialog and create the binding. A realization connector is created between the binding and the corresponding Port Type interface.
  8. To specify the Binding operations, select and double-click on an Operation in the Binding element. The WSDL Binding Operation Details dialog displays.
  9. Type in or select the Binding Operation details.
  10. Click on the Parameters button. The WSDL Binding Operation Parameters dialog displays. For each input, output and fault, click on the Details button and enter the details.
  11. Click on the OK button on each of the WSDL Binding Parameter Details, WSDL Binding Operation Parameters and WSDL Binding Operation Details dialogs to close them.

You can edit the WSDL-specific properties of the binding later by double-clicking the binding Class in the diagram or Project Browser. Alternatively, on the WSDL Binding dialog, click on the UMLbutton to invoke the standard Properties dialog for a Class. (This button does not display on the initial WSDL Binding dialog for a new Binding element.)