Package org.uddi.api_v2

Examples of org.uddi.api_v2.DiscoveryURLs


    DiscoveryURL discoveryURL = new DiscoveryURL();
    discoveryURL.setUseType("General Description");
    discoveryURL.setValue("http://www." + StringUtils.deleteWhitespace(businessName) + ".com");
   
    //All business URLs if many (here we only give one).
    DiscoveryURLs discoveryURLs = new DiscoveryURLs();
    discoveryURLs.getDiscoveryURL().add(discoveryURL);
   
    //Contact info:
    //Name of contact in English.
    PersonName personName = new PersonName();
    personName.setLang("en");
View Full Code Here


    Contacts contacts = new Contacts();
    contacts.getContact().add(generateContact(contactAddress, contactDescription, contactEmail,
        contactName, contactPhone, null));
    businessEntity.setContacts(contacts);
   
    DiscoveryURLs discoveryURLs = new DiscoveryURLs();
    discoveryURLs.getDiscoveryURL().add(generateDiscoveryURL(discoveryURL));
    businessEntity.setDiscoveryURLs(discoveryURLs);
   
    //businessEntity.setCategoryBag(?)
    //businessEntity.setIdentifierBag(?)
    //businessEntity.getSignature(?)
View Full Code Here

    return contacts;
  }
 
  public static DiscoveryURLs generateDiscoveryURLs (List<DiscoveryURL> discoveryURLList)
  {
    DiscoveryURLs discoveryURLs = new DiscoveryURLs();
    for (DiscoveryURL du : discoveryURLList)
      discoveryURLs.getDiscoveryURL().add(du);
   
    return discoveryURLs;
  }
View Full Code Here

                return c;
               
        }

        private static DiscoveryURLs getDisco() {
                DiscoveryURLs r = new DiscoveryURLs();
                r.getDiscoveryURL().add(new DiscoveryURL("public website", "http://localhost"));
                return r;
               
        }
View Full Code Here

                BusinessEntity be = new BusinessEntity();
                Name n = new Name();

                n.setValue("BusinessDiscoveryURLTooLongTest A Test business");
                be.getName().add(n);
                be.setDiscoveryURLs(new DiscoveryURLs());
                DiscoveryURL d = new DiscoveryURL();
                d.setValue(str4097);
                be.getDiscoveryURLs().getDiscoveryURL().add(d);
                sb.getBusinessEntity().add(be);
                try {
View Full Code Here

                BusinessEntity be = new BusinessEntity();
                Name n = new Name();

                n.setValue("BusinessDiscoveryURLMaxLengthTest A Test business");
                be.getName().add(n);
                be.setDiscoveryURLs(new DiscoveryURLs());
                DiscoveryURL d = new DiscoveryURL();
                d.setValue(str4096);
                be.getDiscoveryURLs().getDiscoveryURL().add(d);
                sb.getBusinessEntity().add(be);
View Full Code Here

                BusinessEntity be = new BusinessEntity();
                Name n = new Name();

                n.setValue("BusinessDiscoveryURLMaxLengthMaxUseTypeTest A Test business");
                be.getName().add(n);
                be.setDiscoveryURLs(new DiscoveryURLs());
                DiscoveryURL d = new DiscoveryURL();
                d.setValue(str4096);
                d.setUseType(str255);
                be.getDiscoveryURLs().getDiscoveryURL().add(d);
                sb.getBusinessEntity().add(be);
View Full Code Here

                BusinessEntity be = new BusinessEntity();
                Name n = new Name();

                n.setValue("BusinessDiscoveryURLMaxLengthToolongUseTypeTest A Test business");
                be.getName().add(n);
                be.setDiscoveryURLs(new DiscoveryURLs());
                DiscoveryURL d = new DiscoveryURL();
                d.setValue(str4096);
                d.setUseType(str256);
                be.getDiscoveryURLs().getDiscoveryURL().add(d);
                sb.getBusinessEntity().add(be);
View Full Code Here

        BusinessEntity be = new BusinessEntity();
        Name n = new Name();

        n.setValue("A Test business");
        be.getName().add(n);
        be.setDiscoveryURLs(new DiscoveryURLs());
        DiscoveryURL d = new DiscoveryURL();
        d.setValue(str4097);
        be.getDiscoveryURLs().getDiscoveryURL().add(d);
        sb.getBusinessEntity().add(be);
        try {
View Full Code Here

        BusinessEntity be = new BusinessEntity();
        Name n = new Name();

        n.setValue("A Test business");
        be.getName().add(n);
        be.setDiscoveryURLs(new DiscoveryURLs());
        DiscoveryURL d = new DiscoveryURL();
        d.setValue(str4096);
        be.getDiscoveryURLs().getDiscoveryURL().add(d);
        sb.getBusinessEntity().add(be);
    
View Full Code Here

TOP

Related Classes of org.uddi.api_v2.DiscoveryURLs

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.