Configuring Bindings Using the WSDL View

See Also

You can use the WSDL Editor to create, edit, and delete bindings.

In a WSDL file, a binding contains protocol and data format information for the operations and messages of a port type.

The WSDL view provides the following approaches:

If you change the name of a binding, then the WSDL Editor renames all occurrences in the same file. To rename all occurrences in associated XSD, WSDL, and BPEL files as well, right-click the binding node and choose Refactor > Rename.

To create a binding and service from a port type:

  1. In the WSDL view, right-click the port type node and choose Add > Binding and Service Port.
    The Generate Binding and Service Port dialog box appears.
  2. Enter a name for the binding.
  3. Select the type of binding.
  4. Select the binding subtype. The choices vary depending on the binding type.
  5. Enter a name for the service.
  6. Enter a name for the port.
  7. Click OK.
    A binding node and a service node appear.
    The binding node contains an extensibility element (for example, file:binding) that identifies the type of binding. The binding node also contains one or more operation nodes.
    The service node contains a port node. The port node contains an address extensibility element (for example, file:address).
  8. For information on how to configure the extensibility elements of the binding and service, see the appropriate binding component user's guide.

To create a binding individually:

  1. In the WSDL view, right-click the Bindings node and choose Add Binding.
    A binding node appears.
  2. If the Properties window is not visible, choose Window > Properties.
  3. Select the binding node.
  4. (Optional) Change the value of the Name property.
  5. Set the Type property to the port type that the binding will reference.
  6. Right-click the binding node, point to Add, and choose the desired binding type (for example, File Binding).
    A node that identifies the binding type appears.
  7. Right-click the binding node and choose Add > Binding Operation.
  8. If the binding's port type has more than one operation, then the Select Operation dialog box appears. Choose one or more operations, and click OK.
    One or more operation nodes appear.
  9. For information on how to configure the binding's extensibility elements, see the appropriate binding component user's guide.

To delete a binding:

  1. Select the binding node.
  2. Press Delete.
See Also
About the WSDL View
Configuring Services Using the WSDL View

Legal Notices