Text this: Method of constructing smartflow application based on Web services