private void extractParams(Element req) {
    if (extractTargetType(req).equals("sysaid")) {
      log.debug("TARGET TYPE IS:----" + extractTargetType(req));
      /* Gets Sysaid request parameters */
      String tmp_url = extractUrl(req);
      String tmp_formID = extractFormId(req);
      String tmp_accountID = extractAccountId(req);

      if (StringUtils.isEmpty(tmp_url) || tmp_url.contains("example.com")) {
        log.warn("TargetURL (\""
            + tmp_url
            + "\") appears empty or unchanged in SYSAID request element in your xsl. "
            + "This value should be changed to reflect the location "
            + "of your SYSAID installation");
      } else {
        this.sysaid_URL = tmp_url;
        log.debug("TargetURL: " + sysaid_URL);
      }

      if (StringUtils.isBlank(tmp_formID)
          || StringUtils.equals(tmp_formID, "0")) {
        log.warn("formID appears empty or unchanged in SYSAID request element in your xsl. "
            + "This value should be changed so that your requests will be "
            + "properly authorized and accepted BY SYSAID.");
      } else {
        this.sysaid_formID = tmp_formID;
        log.debug("formID: " + sysaid_formID);
      }

      if (StringUtils.isBlank(tmp_accountID)) {
        log.warn("accountID appears empty or unchanged in SYSAID request element in your xsl. "
            + "This value should be changed to your SYSAID account id.");
      } else {
        this.sysaid_accountID = tmp_accountID;
        log.debug("accountID: " + sysaid_accountID);
      }
    } else if (extractTargetType(req).equals("alephrx")) {
      log.debug("TARGET TYPE IS:----" + extractTargetType(req));
      String tmp_url = extractUrl(req);

      if (StringUtils.isEmpty(tmp_url) || tmp_url.contains("example.com")) {
        log.warn("TargetURL (\""
            + tmp_url
            + "\") appears empty or unchanged in ALEPHRX request element in your xsl. "
            + "This value should be changed to reflect the location "
            + "of your ALEPHRX installation");
      } else {
        this.alephrx_URL = tmp_url;
        log.debug("TargetURL: " + alephrx_URL);
      }
    } else {
      log.error("NO TARGET DEFINED IN REQUEST. Check xsl for this form.");
    }
  }