Package org.apache.ws.scout.uddi

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


  public ServiceList findService(String businessKey, Name[] nameArray,
      CategoryBag categoryBag, TModelBag tModelBag,
      FindQualifiers findQualifiers, int maxRows)
      throws RegistryException {
    FindServiceDocument doc = FindServiceDocument.Factory.newInstance();
    FindService request = doc.addNewFindService();

    if (businessKey != null) {
      request.setBusinessKey(businessKey);
    }

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

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

    if (tModelBag != null) {
      request.setTModelBag(tModelBag);
    }

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

    request.setMaxRows(maxRows);

        ServiceList sl;
        XmlObject o = execute(doc, this.getInquiryURI()).changeType(
                ServiceListDocument.type);
        sl = ((ServiceListDocument) o).getServiceList();
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.uddi.FindService$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.