code: def submit(xml_root, submit_config, session, dry_run=None, **kwargs):
      
      properties.xunit_fill_testrun_id(xml_root, kwargs.get("testrun_id"))
      if dry_run is not None:
          properties.set_dry_run(xml_root, dry_run)
      xml_input = utils.etree_to_string(xml_root)
  
      logger.info("Submitting data to %s", submit_config.submit_target)
      files = {"file": ("results.xml", xml_input)}
      try:
          response = session.post(submit_config.submit_target, files=files)
      # pylint: disable=broad-except
      except Exception as err:
          logger.error(err)
          response = None
  
      return SubmitResponse(response)
docs: Submits data to the Polarion Importer.