public void CreateKeyGenKeyDescriptionLangTooLongTest() throws DispositionReportFaultMessage, RemoteException {
System.out.println("CreateKeyGenKeyDescriptionTooLongTest");
SaveTModel st = new SaveTModel();
st.setAuthInfo(authInfoJoe);
TModel tm = new TModel();
tm.setName(new Name());
tm.getName().setValue("Key gen name");
tm.getName().setLang("en");
Description d = new Description();
d.setValue("A description");
d.setLang(str256);
tm.getDescription().add(d);
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);
String key = UUID.randomUUID().toString();
tm.setTModelKey(key);
st.getTModel().add(tm);
try {
@SuppressWarnings("unused")
TModelDetail saveTModel = publication.saveTModel(st);
Assert.fail("request should have been rejected");