How to: Add Endpoints to Application Systems

Visual Studio 2008

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

You can add endpoints in the following ways:

When you add an endpoint to a system definition, that endpoint also appears on any uses of that definition in other systems.

NoteNote:

You must eventually delegate all endpoints on your system definition to appropriate members in that definition. This action moves those endpoints to the selected members and replaces those endpoints with proxy endpoints on the system definition. For more information, see How to: Delegate Application System Behavior to Members.

To add a provider endpoint to a system definition

  1. On the system diagram, click the system definition boundary.

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

    The provider endpoint appears on your system definition. The endpoint also appears on all uses of that system definition in other systems.

    TipTip:

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

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

  1. On the system diagram, click the boundary 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 boundary and choose Create .NET Web Service Endpoint from WSDL.

    A .NET Web Service provider endpoint appears on the system definition.

    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.

Community Additions

ADD
Show: