Using the WSDL Editor

Configuring Services Using the WSDL View

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

Image shows the service example in WSDL view of WSDL
Editor

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:

ProcedureTo 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. Add the binding to a service port. If this option is selected, do the following:

    1. Enter a name for the service.

    2. Enter a name for the port.

  6. Complete the binding configuration.

    When a binding type is selected, the Generate Binding and Service Port dialog box provides configuration parameters specific to that binding type.


    Note –

    The HTTP and SOAP bindings do not provide configuration parameters in the Generate Binding and Service Port dialog box.


  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).

See Also

For information on how to configure the extensibility elements of the binding and service, see the appropriate binding component user's guide.

ProcedureTo create a service individually

  1. 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.

ProcedureTo delete a service or port

  1. Select the service or port node.

  2. Press Delete.

    The Safe Delete dialog box appears.

  3. Click Refactor.

    The service or port node is deleted.