TModel tm = new TModel();
tm.setName(new Name());
tm.getName().setValue("My Cool Company Keymodel generator");
tm.getName().setLang("en");
tm.setCategoryBag(new CategoryBag());
KeyedReference kr = new KeyedReference();
kr.setTModelKey("uddi:uddi.org:categorization:types");
kr.setKeyName("uddi-org:keyGenerator");
kr.setKeyValue("keyGenerator");
tm.getCategoryBag().getKeyedReference().add(kr);
tm.setTModelKey(validTmodelKeyGenTooLong);
st.getTModel().add(tm);
try {
@SuppressWarnings("unused")