This documentation is archived and is not being maintained.

How to: Add Endpoints to Members of Application Systems

Visual Studio 2008

In System Designer, you can define and represent the behavior that a member of your application system provides or consumes as an endpoint. You can perform this task by adding an endpoint to that member in the definition of your system. You can add provider and consumer endpoints to a member. You can add the same type of endpoints that you can add to their underlying definitions. For more information, see Overview of Endpoints on Applications.

You can add endpoints in the following ways:

  • Add a new provider endpoint directly to a member.

  • Add a new consumer endpoint indirectly by connecting the member to another member or to a provider endpoint on another member within the same system definition. For more information, see How to: Connect Applications and Systems on System Diagrams.

  • Add a provider or consumer endpoint to a member by adding it to the member's definition. This action updates the definition of that member, so all uses of that definition will display that endpoint. For more information, see How to: Add Endpoints to Applications and How to: Add Endpoints to Application Systems.

  • Create a .NET Web service endpoint on a member by specifying a WSDL or .disco file. For more information, see Web Service Endpoints Based on WSDL Files.

  • Copy an existing provider or consumer endpoint. You can copy endpoints from the same or other members, the system definition boundary, or from an application definition.

When you add an endpoint to a member, that endpoint also appears on the definition of that member and on any uses of that definition in other systems. This action updates the definition of that member, so all uses of that definition display the new endpoint.

Endpoints on members also allow you to create proxy endpoints that expose member behavior to the outside of the system. For more information, see How to: Expose Behavior of Members in Application Systems.

To add a provider endpoint to a member of your system definition

  1. On the system diagram, click a member of your system definition.

  2. On the Diagram menu, point to Add, then Endpoint, and click a provider endpoint.

    TipTip:

    You can also drag an endpoint from the Toolbox to the system definition boundary.

    The provider endpoint appears on the selected member. The endpoint also appears on the definition of that member and on any uses of that definition in other systems.

    NoteNote:

    You cannot delete an endpoint directly from a member after you add it. To delete an endpoint from a member, you must delete it from its definition. For more information, see How to: Delete Endpoints from System Diagrams.

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

  1. On the system diagram, click a member of your system definition.

  2. On the Diagram menu, point to Implementation, and click Create .NET 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.

    TipTip:

    You can also right-click the member to choose Create .NET Web Service Endpoint from WSDL.

    A .NET Web Service provider endpoint appears on the member.

    NoteNote:

    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.

Show: