Examples of BindingTemplates


Examples of org.uddi.api_v3.BindingTemplates

                SaveService ss = new SaveService();
                ss.setAuthInfo(authInfoJoe);
                BusinessService bs = new BusinessService();
                bs.setBusinessKey(TckBusiness.JOE_BUSINESS_KEY);
                bs.setServiceKey(TckBusinessService.JOE_SERVICE_KEY);
                bs.setBindingTemplates(new BindingTemplates());
                BindingTemplate bt = new BindingTemplate();
                bt.setBindingKey(null);
                bt.setServiceKey(null);
                bt.setAccessPoint(new AccessPoint("http://localhost", "wsdl"));
View Full Code Here

Examples of org.uddi.api_v3.BindingTemplates

                SaveService ss = new SaveService();
                ss.setAuthInfo(authInfoJoe);
                BusinessService bs = new BusinessService();
                bs.setBusinessKey(TckBusiness.JOE_BUSINESS_KEY);
                bs.setServiceKey(TckBusinessService.JOE_SERVICE_KEY);
                bs.setBindingTemplates(new BindingTemplates());
                BindingTemplate bt = new BindingTemplate();
                bt.setBindingKey(null);
                bt.setServiceKey(TckBusinessService.JOE_SERVICE_KEY);
                bt.setAccessPoint(new AccessPoint("http://localhost", "wsdl"));
View Full Code Here

Examples of org.uddi.api_v3.BindingTemplates

                        //logger.error("unExpected failure: ",ex);
                        Assert.fail("unexpected failure " + ex.getMessage() + ex.toString());
                }

                bs = saveService.getBusinessService().get(0);
                bs.setBindingTemplates(new BindingTemplates());
                BindingTemplate bt = new BindingTemplate();
                bt.setBindingKey(null);
                bt.setServiceKey(TckBusinessService.JOE_SERVICE_KEY);
                bt.setAccessPoint(new AccessPoint("http://localhost", "wsdl"));
View Full Code Here

Examples of org.uddi.api_v3.BindingTemplates

      log.warn("No Service with key " + serviceKey + " was found in the registry.");
      //TODO find service by tModel
    }
    if (service!=null && service.getBindingTemplates()!=null && service.getBindingTemplates().getBindingTemplate() != null) {
      ArrayList<String> eprs = new ArrayList<String>();
      BindingTemplates bindingTemplates = service.getBindingTemplates();
      if (bindingTemplates==null) {
        log.warn("Found service " + service.getName().get(0).getValue()
              + " with serviceKey '" + serviceKey + "'"
              + " but no EPRs");
      } else {
        log.debug("Found service " + service.getName().get(0).getValue()
              + " with serviceKey '" + serviceKey + "'"
              + " and " + bindingTemplates.getBindingTemplate().size() + " EPRs");
        //Loop over all bindingTemplates found and get the endpoints.
        for (BindingTemplate bindingTemplate : bindingTemplates.getBindingTemplate()) {
          AccessPoint accessPoint = bindingTemplate.getAccessPoint();
          if (AccessPointType.END_POINT.toString().equals(accessPoint.getUseType())) {
            String url = accessPoint.getValue();
            log.debug("epr= " + url);
            eprs.add(url);
View Full Code Here

Examples of org.uddi4j.datatype.binding.BindingTemplates

    /**
     * The binding template needs an [ accessPoint | hostRedirector ]
     */
    AccessPoint animalAccessPoint = _createAccessPoint(ANIMAL_WSDL_URL.substring(0,ANIMAL_WSDL_URL.lastIndexOf("?")));
    bindingTemplate.setAccessPoint(animalAccessPoint);
    BindingTemplates bindingTemplates = new BindingTemplates();

    bindingTemplate.setDefaultDescriptionString("SOAP Binding");
    bindingTemplates.add(bindingTemplate);

    busService.setBindingTemplates(bindingTemplates);

    // save the service
    java.util.Vector servicesVector = new Vector();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.