Package org.apache.ws.scout.uddi

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


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

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

        return bd;
View Full Code Here


    if (bindingArray != null) {
      request.setBindingTemplateArray(bindingArray);
    }
   
        BindingDetail bd;
        XmlObject o = execute(doc, this.getPublishURI()).changeType(
                BindingDetailDocument.type);
        bd = ((BindingDetailDocument) o).getBindingDetail();

        return bd;
View Full Code Here

        FindQualifiers juddiFindQualifiers = mapFindQualifiers(findQualifiers);

        try
        {
            BindingDetail l = iRegistry.findBinding(serviceKey.getId(),
                    ScoutJaxrUddiHelper.getCategoryBagFromClassifications(classifications),
                ScoutJaxrUddiHelper.getTModelBagFromSpecifications(specifications),
                juddiFindQualifiers,registryService.getMaxRows());

            /*
             * now convert  from jUDDI ServiceInfo objects to JAXR Services
             */
            if (l != null) {

                BindingTemplate[] bindarr= l.getBindingTemplateArray();
                LinkedHashSet<ServiceBinding> col = new LinkedHashSet<ServiceBinding>();

                for (int i=0; bindarr != null && i < bindarr.length; i++) {
                    BindingTemplate si = bindarr[i];
                    ServiceBinding sb =  ScoutUddiJaxrHelper.getServiceBinding(si,
View Full Code Here

            catch (ClassCastException ce) {
                throw new UnexpectedObjectException();
            }
        }
        // Save ServiceBinding
        BindingDetail bd = null;
        try {
            bd = (BindingDetail) executeOperation(sbarr, "SAVE_SERVICE_BINDING");
        }
        catch (RegistryException e) {
            exceptions.add(new SaveException(e.getLocalizedMessage()));
            bulk.setStatus(JAXRResponse.STATUS_FAILURE);
            return bulk;
        }

        sbarr = bd.getBindingTemplateArray();
        for (int i = 0; sbarr != null && i < sbarr.length; i++) {
            BindingTemplate bt = (BindingTemplate) sbarr[i];
            coll.add(new KeyImpl(bt.getBindingKey()));
        }
        if (coll.size()>0) {
View Full Code Here

TOP

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

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.