The paper presents a framework for web service selection based on Quality of Service (QoS) and semantic matching to improve service ranking among candidates. It utilizes an associative classification algorithm to classify services according to user-defined QoS requirements and preferences, facilitating near-optimal service composition. Experimental results indicate that the proposed method effectively meets non-functional requirements for service requesters.