Web services based workflow engine