final String siteURL = context.getBean(SettingManager.class).getSiteURL(context);
Thesaurus thesaurus = new Thesaurus(context.getApplicationContext(), fname, tname, tnamespace, type, dname, rdfFile, siteURL, false);
tm.addThesaurus(thesaurus, true);
// Save activated status in the database
ThesaurusActivation activation = new ThesaurusActivation();
activation.setActivated(Constants.toBoolean_fromYNChar(activated.charAt(0)));
activation.setId(fname);
context.getBean(ThesaurusActivationRepository.class).save(activation);
Element elResp = new Element(Jeeves.Elem.RESPONSE);
Element elRef = new Element("ref");