BusinessEntity be = new BusinessEntity();
Name n = new Name();
n.setValue("ServiceMaxCatBagTooBigTest A Test business");
be.getName().add(n);
be.setBusinessServices(new BusinessServices());
BusinessService bs = new BusinessService();
Description d = new Description();
d.setValue(str255);
d.setLang(str26);
bs.getDescription().add(d);
n = new Name();
n.setValue(str255);
bs.getName().add(n);
bs.setCategoryBag(new CategoryBag());
KeyedReference kr = new KeyedReference();
kr.setKeyName(str256);
kr.setKeyValue(str256);
kr.setTModelKey(str256);
bs.getCategoryBag().getKeyedReference().add(kr);
be.getBusinessServices().getBusinessService().add(bs);
sb.getBusinessEntity().add(be);
try {
BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);