BusinessEntity myBusEntity = new BusinessEntity();
Name myBusName = new Name();
myBusName.setLang("en");
myBusName.setValue("ValidTransfer UDDI's Business" + " " + xcal.toString());
myBusEntity.getName().add(myBusName);
myBusEntity.setBusinessServices(new BusinessServices());
myBusEntity.getBusinessServices().getBusinessService().add(CreateBusiness("UDDI"));
SaveBusiness sb = new SaveBusiness();
sb.getBusinessEntity().add(myBusEntity);
sb.setAuthInfo(authInfoJoe);
BusinessDetail bd = publishJoe.saveBusiness(sb);
String keyJoeBiz = bd.getBusinessEntity().get(0).getBusinessKey();
//String keyJoeBizSvc = bd.getBusinessEntity().get(0).getBusinessServices().getBusinessService().get(0).getServiceKey();
myBusEntity = new BusinessEntity();
myBusName = new Name();
myBusName.setLang("en");
myBusName.setValue("ValidTransfer Root's Business" + " " + xcal.toString());
myBusEntity.getName().add(myBusName);
myBusEntity.setBusinessServices(new BusinessServices());
myBusEntity.getBusinessServices().getBusinessService().add(CreateBusiness("root"));
sb = new SaveBusiness();
sb.getBusinessEntity().add(myBusEntity);
sb.setAuthInfo(authInfoSam);
bd = publishSam.saveBusiness(sb);