Package org.apache.ws.scout.uddi

Examples of org.apache.ws.scout.uddi.FindTModel


   */
  public TModelList findTModel(String name, CategoryBag categoryBag,
      IdentifierBag identifierBag, FindQualifiers findQualifiers,
      int maxRows) throws RegistryException {
    FindTModelDocument doc = FindTModelDocument.Factory.newInstance();
    FindTModel request = doc.addNewFindTModel();

    Name n = Name.Factory.newInstance();

    if (name != null) {
      n.setStringValue(name);
    }

    request.setName(n);

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

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

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

    request.setMaxRows(maxRows);

        TModelList tml;
        XmlObject o = execute(doc, this.getInquiryURI()).changeType(
                TModelListDocument.type);
        tml = ((TModelListDocument) o).getTModelList();
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.uddi.FindTModel

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.