Flow-based service selection for Web service composition supporting multiple QoS classes