An approach for QoS-aware service composition based on genetic algorithms