This paper proposes a model driven approach whereby a composite service specification is generated automatically from a simple declarative definition. I t is based o n three concepts: services, virtual enterprises and business rules. Using a n e-travel application as a running example we explain in detail the steps of the generation process. Particularly, we show how business rules can be used for creating o n the jly the controlflow relating the services constituting the composite service.