Add Service Control Dialog

Use this dialog to add a new Service control to your web service. A Service control provides an interface to another web service, so that your service can invoke the methods of the target service and handle its callbacks.

# Step 1: Specify a Name for This Control

Enter a unique name for this Service control. The name that you choose will be the variable name that you use to refer to this Service control in your code.

# Step 2: Use an Existing Control, or Create a New Control

To add an existing Service control to your service, select the option "Use a Service control already defined by a CTRL file". Type the path and file name, or click the Browse button to locate the CTRL file.

To create a new Service control, select the option "Create a new Service control from a WSDL," and specify the name of the file containing the WSDL or the URL that points to it. Click the Browse button to search for a local file name. Click the UDDI button to search public or private registries for available web services.

## Control Factories

If you make this a control factory, web services can dynamically create multiple instances of this control. To learn more about control factories, see Control Factories: Managing Collections of Controls.

Related Topics

Controls: Using Resources from a Web Service

Service Control: Using Another Web Service

How Do I: Generate a CTRL File?

How Do I: Call One Web Service from Another?