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:
- You can quickly create a binding and service from an existing port type.
- You can create the binding, service, and their subnodes individually.
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:
- 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.
- Enter a name for the binding.
- Select the type of binding.
- Select the binding subtype. The choices vary depending on the binding type.
- Enter a name for the service.
- Enter a name for the port.
- 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).
- 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:
- In the WSDL view, right-click the Bindings node and choose Add Binding.
A binding node appears.
- If the Properties window is not visible, choose Window > Properties.
- Select the binding node.
- (Optional) Change the value of the Name property.
- Set the Type property to the port type that the binding will reference.
- 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.
- Right-click the binding node and choose Add > Binding Operation.
- 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.
- For information on how to configure the binding's extensibility elements, see the appropriate binding component user's guide.
To delete a binding:
- Select the binding node.
- Press Delete.
- See Also
- About the WSDL View
- Configuring Services Using the WSDL View
Legal Notices