Package org.apache.ws.scout.uddi

Examples of org.apache.ws.scout.uddi.FindBusiness$Factory


      DiscoveryURLs discoveryURLs, IdentifierBag identifierBag,
      CategoryBag categoryBag, TModelBag tModelBag,
      FindQualifiers findQualifiers, int maxRows)
      throws RegistryException {
    FindBusinessDocument doc = FindBusinessDocument.Factory.newInstance();
    FindBusiness request = doc.addNewFindBusiness();

    if (nameArray != null) {
      request.setNameArray(nameArray);
    }

    if (discoveryURLs != null) {
      request.setDiscoveryURLs(discoveryURLs);
    }

    if (identifierBag != null) {
      request.setIdentifierBag(identifierBag);
    }

    if (categoryBag != null) {
      request.setCategoryBag(categoryBag);
    }

    if (tModelBag != null) {
      request.setTModelBag(tModelBag);
    } else {
      request.setTModelBag(TModelBag.Factory.newInstance());
     }

    if (findQualifiers != null) {
      request.setFindQualifiers(findQualifiers);
    }

    request.setMaxRows(maxRows);

        BusinessList bl;
        XmlObject o = execute(doc, this.getInquiryURI()).changeType(
                BusinessListDocument.type);
        bl = ((BusinessListDocument) o).getBusinessList();
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.uddi.FindBusiness$Factory

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.