String theKey = tm.createUpdateThesaurusFromRegister(uuid, type, context);
Thesaurus gst = tm.getThesaurusByName(theKey);
String fname = gst.getFname();
final ThesaurusActivationRepository activationRepository = context.getBean(ThesaurusActivationRepository.class);
final ThesaurusActivation activation = new ThesaurusActivation();
activation.setId(fname);
activation.setActivated(Constants.toBoolean_fromYNChar(activated.charAt(0)));
activationRepository.save(activation);
Element elResp = new Element(Jeeves.Elem.RESPONSE);
Element elRef = new Element("ref");
elRef.addContent(theKey);
elResp.addContent(elRef);