def service_factory(app, host, port,<EOL>report_message='<STR_LIT>',<EOL>provider_cls=HTTPServiceProvider):
service = Service(app)<EOL>server = provider_cls(service, host, port, report_message)<EOL>server.serve_forever()<EOL>
Create service, start server.

    :param app: application to instantiate a service
    :param host: interface to bound provider
    :param port: port to bound provider
    :param report_message: message format to report port
    :param provider_cls: server class provide a service