Share via


Flow of Control

To understand how Business Data Catalog clients, such as Business Data Web Parts and custom solutions, use the Business Data Catalog to execute back-end Web methods, consider the following scenario. Let’s say you want a Business Data Web Part to display information from an SAP application by invoking SAP Web services. To do that, the Web Part must have information about the methods it will invoke and the parameters the back-end Web methods will accept. To get that information, the Web Part uses the Runtime object model to query the metadata database where the Business Data Catalog stores the information about the Web methods. The Web Part again uses the Runtime object model to invoke the Web methods and display the data on the page.

The following figure shows the high-level flow of control that occurs when a method is executed in the Business Data Catalog.

Flow of control when executing a method

Flow of control when executing a method