Configuring Services Using the WSDL View

See Also

You can use the WSDL Editor to create, edit, and delete services. In addition, you can modify services that were generated by the New WSDL Document wizard.

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.

You can quickly create a binding and a service from an existing port type.

Alternately, you can create the binding, service, and their subnodes individually. Before you can configure the service's port, you must create the binding.

To create a binding and service from a port type:

  1. In the WSDL view, right-click the port type node choose Add > Binding and Service Port.
    The Generate Binding and Service Port dialog box appears.
  2. Supply a name for the binding.
  3. Select one of the predefined binding types.
  4. Select the binding subtype. If the binding type is SOAP, then the binding subtypes indicate how to translate the binding to a SOAP message. For other binding types, you typically have only one choice for the binding subtype.
  5. Supply a name for the service.
  6. Supply 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 binding type. 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.
  8. For information on how to configure the address extensibility element, 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 remove 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