Using the semantic matching algorithm, this paper proposes a service request-driven service composition method based on Web services ontology and domain ontology. By recursive calls this method to find the combination tree which should satisfy the service request function and performance constraints. To explain how to get the combination tree, a concrete example is used in this combination method. Example applications which support automatically and dynamic Web service composition can satisfy QOS constraints.