bs.setBusinessKey("uddi:uddi.marypublisher.com:marybusinessone");
bs.setServiceKey("uddi:uddi.marypublisher.com:marybusinessoneservice");
bs.getName().add(new Name("name!", "en"));
bs.setBindingTemplates(new BindingTemplates());
BindingTemplate bt = new BindingTemplate();
bt.setAccessPoint(new AccessPoint("http://localhost/endpoint1BAD", AccessPointType.WSDL_DEPLOYMENT.toString()));
bt.setTModelInstanceDetails(new TModelInstanceDetails());
TModelInstanceInfo tii = new TModelInstanceInfo();
tii.setTModelKey(WSDMQosConstants.METRIC_FAULT_COUNT_KEY);
tii.setInstanceDetails(new InstanceDetails());
tii.getInstanceDetails().setInstanceParms("400");
bt = UDDIClient.addSOAPtModels(bt);
bt.getTModelInstanceDetails().getTModelInstanceInfo().add(tii);
bs.getBindingTemplates().getBindingTemplate().add(bt);
bt = new BindingTemplate();
bt.setAccessPoint(new AccessPoint("http://localhost/endpoint2BETTER", AccessPointType.WSDL_DEPLOYMENT.toString()));
bt.setTModelInstanceDetails(new TModelInstanceDetails());
tii = new TModelInstanceInfo();
tii.setTModelKey(WSDMQosConstants.METRIC_FAULT_COUNT_KEY);
tii.setInstanceDetails(new InstanceDetails());