code: def service_details(self, io_handler, service_id):
          
          svc_ref = self._context.get_service_reference(
              None, "({0}={1})".format(constants.SERVICE_ID, service_id)
          )
          if svc_ref is None:
              io_handler.write_line("Service not found: {0}", service_id)
              return False
  
          lines = [
              "ID............: {0}".format(
                  svc_ref.get_property(constants.SERVICE_ID)
              ),
              "Rank..........: {0}".format(
                  svc_ref.get_property(constants.SERVICE_RANKING)
              ),
              "Specifications: {0}".format(
                  svc_ref.get_property(constants.OBJECTCLASS)
              ),
              "Bundle........: {0}".format(svc_ref.get_bundle()),
              "Properties....:",
          ]
          for key, value in sorted(svc_ref.get_properties().items()):
              lines.append("\t{0} = {1}".format(key, value))
  
          lines.append("Bundles using this service:")
          for bundle in svc_ref.get_using_bundles():
              lines.append("\t{0}".format(bundle))
  
          lines.append("")
          io_handler.write("\n".join(lines))
          return None
docs: Prints the details of the service with the given ID