Configuring Services Using the WSDL View

See Also

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

In a WSDL file, a service consists of one or more related ports. Each port associates a binding with a network address, thus defining an individual endpoint that clients can access.

The WSDL view provides the following approaches:

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 service individually:

  1. In the WSDL view, right-click the Services node and choose Add Service.
    A service node appears.
  2. If the Properties window is not visible, choose Window > Properties.
  3. Select the service node.
  4. (Optional) Change the value of the Name property.
  5. Right-click the service node and choose Add > Service Port.
    A port node appears.
  6. Select the port node.
  7. (Optional) Change the value of the Name property.
  8. Set the Binding property to the desired binding.
  9. Right-click the port node and add the address extensibility element (for example, File Address).
  10. For information on how to configure the address extensibility element, see the appropriate binding component user's guide.

To delete a service or port:

  1. Select the service or port node.
  2. Press Delete.
See Also
About the WSDL View
Configuring Bindings Using the WSDL View

Legal Notices