Service composition is today mostly a manual process and automated service creation techniques are not ready for prime time in IT and network system development. This paper presents the Service Refinement Cycle as an integrated framework for dealing with the service lifecycle composed of stages like service creation, deployment, execution and management. The main realization of the cycle is the Service Code, which contains executable specifications (code) that may run at any compatible engine.