Share via


How to: Add Endpoints to ApplicationsĀ 

In Application Designer, you can add provider and consumer endpoints to applications, depending on the application type and the endpoint type. You can add new provider endpoints or copy them from other applications. In addition, on ASP.NET applications, you can create Web service provider endpoints by specifying a WSDL or .disco file. For more information, see Overview of Endpoints on Applications.

Note

WSDL files that contain multiple SOAP bindings or .disco files that reference multiple Web services are not supported. WSDL files that have types containing sequences returned from operations are also not supported. As a best practice, change the binding namespace from its default value ("https://tempuri.org") on Web service endpoints.

You can add consumer endpoints only by connecting applications to provider endpoints or by copying them. Connecting an application and a provider endpoint creates the appropriate consumer endpoint on the consumer application. For more information, see How to: Connect Applications on Application Diagrams.

To add a provider endpoint to an application

  1. Select an application to which you can add a provider endpoint.

  2. On the Diagram menu, point to Add New, and choose an endpoint prototype.

    The endpoint prototype you selected appears on the application.

    Tip

    You can also drag provider endpoint prototypes from the Toolbox.

Depending on the endpoint type, you can rename endpoints. For more information, see How to: Rename Endpoints on Applications. You can also define services for endpoints, or define communication pathways by connecting applications through endpoints. For more information, see Overview of Application Designer.

To create a Web service provider endpoint from a WSDL or .disco file

  1. Select an ASP.NET application on the diagram.

  2. On the Diagram menu, point to Implementation, and choose Create Web Service Endpoint From WSDL.

  3. In the Add Web Reference dialog box, follow the procedure in How to: Locate WSDL Files for Web Services.

    Tip

    You can also right-click the application to choose Create Web Service Endpoint From WSDL.

    A Web service provider endpoint appears on the application shape. If the ASP.NET application is implemented, the appropriate Web service files are added to the application's project in Solution Explorer. For more information, see Overview of ASP.NET Applications on Application Diagrams.

    Note

    The endpoint name is the name of the Web service referenced by the WSDL or .disco file. The Web Service Details window displays operation signatures referenced by the WSDL or .disco file. For more information, see How to: Edit Operations for ASP.NET Web Services.

See Also

Tasks

How to: Delete Endpoints from Applications

Other Resources

Defining Endpoints on Applications