Package org.apache.ws.scout.model.uddi.v2

Examples of org.apache.ws.scout.model.uddi.v2.ObjectFactory


    }
    String bindingKey = businessTemplate.getBindingKey();
    if(bindingKey != null) serviceBinding.setKey(new KeyImpl(bindingKey));

    //Access URI
    AccessPoint access = businessTemplate.getAccessPoint();
    if (access != null) serviceBinding.setAccessURI(access.getValue());

    //Description
    Description desc = null;
    if (businessTemplate.getDescription().size()>0) desc = businessTemplate.getDescription().get(0);
    if (desc!=null) {
View Full Code Here


    if (completionStatus != null) {
      request.setCompletionStatus(completionStatus);
    }

        AssertionStatusReport asr;
        JAXBElement<?> o = execute(this.objectFactory.createGetAssertionStatusReport(request),
            this.getPublishURI());
        asr = (AssertionStatusReport) o.getValue();

        return asr;
View Full Code Here

      request.setCred(cred);
    }

    URI getAuthTokenURI = getSecurityURI();;
   
        AuthToken at;
        JAXBElement<?> o = execute(this.objectFactory.createGetAuthToken(request),
            getAuthTokenURI);
        at = (AuthToken) o.getValue();

        return at;
View Full Code Here

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

        BindingDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createFindBinding(request),
            this.getInquiryURI());
        bd = (BindingDetail) o.getValue();

        return bd;
View Full Code Here

    if (bindingArray != null) {
      request.getBindingTemplate().addAll(Arrays.asList(bindingArray));
    }
   
        BindingDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createSaveBinding(request),
            this.getPublishURI());
        bd = (BindingDetail) o.getValue();

        return bd;
View Full Code Here

            if (catBag!=null) {
                bs.setCategoryBag(catBag);
            }

            //Add the ServiceBinding information
            BindingTemplates bt = getBindingTemplates(service.getServiceBindings());
            if (bt != null) {
                bs.setBindingTemplates(bt);
            }
          
            log.debug("BusinessService=" + bs.toString());
View Full Code Here

           return od;
       }

    private static BindingTemplates getBindingTemplates(Collection serviceBindings)
        throws JAXRException {
        BindingTemplates bt = null;
        if(serviceBindings != null && serviceBindings.size() > 0) {
            bt = objectFactory.createBindingTemplates();
            Iterator iter = serviceBindings.iterator();
            int currLoc = 0;
            BindingTemplate[] bindingTemplateArray = new BindingTemplate[serviceBindings.size()];
            while(iter.hasNext()) {
                ServiceBinding sb = (ServiceBinding)iter.next();
                bindingTemplateArray[currLoc] = getBindingTemplateFromJAXRSB(sb);
                currLoc++;
            }
            if (bindingTemplateArray != null) {
                bt.getBindingTemplate().addAll(Arrays.asList(bindingTemplateArray));
            }
        }
        return bt;
    }
View Full Code Here

     
    }
    serve.setDescription(dis);
   
    //Populate the ServiceBindings for this Service
    BindingTemplates bts = businessService.getBindingTemplates();
    List<BindingTemplate> bindingTemplateList = bts.getBindingTemplate();
    for (BindingTemplate bindingTemplate : bindingTemplateList) {
      serve.addServiceBinding(getServiceBinding(bindingTemplate, lifeCycleManager));
    }
    serve.addClassifications(getClassifications(businessService.getCategoryBag(), lifeCycleManager));
View Full Code Here

    if (businessKeyArray != null) {
      request.getBusinessKey().addAll(Arrays.asList(businessKeyArray));
    }

        BusinessDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createGetBusinessDetail(request),
            this.getInquiryURI());
        bd = (BusinessDetail) o.getValue();
        return bd;
  }
View Full Code Here

    if (businessArray != null) {
      request.getBusinessEntity().addAll(Arrays.asList(businessArray));
    }

        BusinessDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createSaveBusiness(request),
            this.getPublishURI());
        bd = (BusinessDetail) o.getValue();

        return bd;
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.model.uddi.v2.ObjectFactory

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.