Bagikan melalui


How to: Add Endpoints to Application Systems

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:

  • Add a new provider endpoint directly to your system definition.

  • Add a new consumer endpoint by first adding your system to another system definition. You can then connect a provider endpoint within that definition to your system. For more information, see How to: Add Members to Application Systems and How to: Connect Applications and Systems on System Diagrams.

  • Create a .NET Web service endpoint on the system definition 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 to your system definition. You can copy this endpoint from your system definition, one of its members, or an application definition.

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

Note

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.

    Tip

    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.

    Tip

    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.

    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: Add Endpoints to Members of Application Systems

Concepts

Overview of Application Systems