The paper develops a simple regression algorithm that will solve many service composition problems in the literature.