map service to interface.