The matching algorithm expects a set of inputs, such as the functional interface description of the Web service as well as the interface description of the UI components that are registered in a repository. To understand the matching algorithm, we describe initially the declarative interface description of UI components. Subsequent, we present the matching algorithm in detail and show the discovery of UI components based on functional interface descriptions.