Package org.apache.ws.scout.uddi

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


    // exist under FindBinding. It is fine for now, since the incoming
    // parameter value is always null anyways -- but this may change
    // in the future.

    FindBindingDocument doc = FindBindingDocument.Factory.newInstance();
    FindBinding request = doc.addNewFindBinding();

    if (serviceKey != null) {
      request.setServiceKey(serviceKey);
    }

    if (tModelBag != null) {
      if (tModelBag.getTModelKeyArray().length == 0) {
        tModelBag.setTModelKeyArray(new String[1]);
      }
      request.setTModelBag(tModelBag);
    } else {
      TModelBag tmb = TModelBag.Factory.newInstance();
      tmb.setTModelKeyArray(new String[1]);
      request.setTModelBag(tmb);
    }

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

        BindingDetail bd;
        XmlObject o = execute(doc, this.getInquiryURI()).changeType(
                BindingDetailDocument.type);
        bd = ((BindingDetailDocument) o).getBindingDetail();
View Full Code Here

TOP

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

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.