private RegistryObject getRegistryObject()
{
OverviewDoc overDoc = new OverviewDoc();
overDoc.setOverviewURL("http://www.juddi.org/service.html");
overDoc.addDescription(new Description("over-doc Descr"));
overDoc.addDescription(new Description("over-doc Descr Two","en"));
InstanceDetails instDetails = new InstanceDetails();
instDetails.addDescription(new Description("inst-det descr"));
instDetails.addDescription(new Description("inst-det descr in italy","it"));
instDetails.setInstanceParms("inst-det parameters");
instDetails.setOverviewDoc(overDoc);
TModelInstanceInfo tModInstInfo = new TModelInstanceInfo();
tModInstInfo.setTModelKey("uuid:ae0f9fd4-287f-40c9-be91-df47a7c72fd9");
tModInstInfo.addDescription(new Description("tMod-Inst-Info"));
tModInstInfo.addDescription(new Description("tMod-Inst-Info too","es"));
tModInstInfo.setInstanceDetails(instDetails);
TModelInstanceDetails tModInstDet = new TModelInstanceDetails();
tModInstDet.addTModelInstanceInfo(tModInstInfo);
BindingTemplate binding = new BindingTemplate();
binding.setBindingKey("c9613c3c-fe55-4f34-a3da-b3167afbca4a");
binding.setServiceKey("997a55bc-563d-4c04-8a94-781604870d31");
binding.addDescription(new Description("whatever"));
binding.addDescription(new Description("whatever too","fr"));
binding.setHostingRedirector(new HostingRedirector("92658289-0bd7-443c-8948-0bb4460b44c0"));
binding.setAccessPoint(new AccessPoint(AccessPoint.HTTP,"http://www.juddi.org/service.wsdl"));
binding.setTModelInstanceDetails(tModInstDet);
BindingTemplates bindings = new BindingTemplates();
bindings.addBindingTemplate(binding);
CategoryBag catBag = new CategoryBag();
catBag.addKeyedReference(new KeyedReference("catBagKeyName","catBagKeyValue"));
catBag.addKeyedReference(new KeyedReference("uuid:dfddb58c-4853-4a71-865c-f84509017cc7","catBagKeyName2","catBagKeyValue2"));
IdentifierBag idBag = new IdentifierBag();
idBag.addKeyedReference(new KeyedReference("idBagKeyName","idBagkeyValue"));
idBag.addKeyedReference(new KeyedReference("uuid:f78a135a-4769-4e79-8604-54d440314bc0","idBagKeyName2","idBagkeyValue2"));
DiscoveryURLs discURLs = new DiscoveryURLs();
discURLs.addDiscoveryURL(new DiscoveryURL("http","http://www.sviens.com/service.wsdl"));
discURLs.addDiscoveryURL(new DiscoveryURL("https","https://www.sviens.com/service.wsdl"));
discURLs.addDiscoveryURL(new DiscoveryURL("smtp","servicemngr@sviens.com"));
Address address = new Address();
address.setUseType("myAddressUseType");
address.setSortCode("sortThis");
address.setTModelKey(null);
address.addAddressLine(new AddressLine("AddressLine1","keyNameAttr","keyValueAttr"));
address.addAddressLine(new AddressLine("AddressLine2"));
Contact contact = new Contact();
contact.setUseType("myAddressUseType");
contact.setPersonNameValue("Bob Whatever");
contact.addDescription(new Description("Bob is a big fat jerk"));
contact.addDescription(new Description("obBay sIay a igBay atFay erkJay","es"));
contact.addEmail(new Email("bob@whatever.com"));
contact.addPhone(new Phone("(603)559-1901"));
contact.addAddress(address);
Contacts contacts = new Contacts();
contacts.addContact(contact);
BusinessService service = new BusinessService();
service.setServiceKey("fe8af00d-3a2c-4e05-b7ca-95a1259aad4f");
service.setBusinessKey("b8cc7266-9eed-4675-b621-34697f252a77");
service.setBindingTemplates(bindings);
service.setCategoryBag(catBag);
service.addName(new org.apache.juddi.datatype.Name("serviceNm"));
service.addName(new org.apache.juddi.datatype.Name("serviceNm2","en"));
service.addDescription(new Description("service whatever"));
service.addDescription(new Description("service whatever too","it"));
BusinessServices services = new BusinessServices();
services.addBusinessService(service);
services.addBusinessService(service);
BusinessEntity business = new BusinessEntity();
business.setBusinessKey("6c0ac186-d36b-4b81-bd27-066a5fe0fc1f");
business.setAuthorizedName("Steve Viens");
business.setOperator("jUDDI");
business.addName(new org.apache.juddi.datatype.Name("businessNm"));
business.addName(new org.apache.juddi.datatype.Name("businessNm2","en"));
business.addDescription(new Description("business whatever"));
business.addDescription(new Description("business whatever too","fr"));
business.setDiscoveryURLs(discURLs);
business.setCategoryBag(catBag);
business.setIdentifierBag(idBag);
business.setContacts(contacts);
business.setBusinessServices(services);