Package org.uddi.api_v2

Examples of org.uddi.api_v2.BindingTemplates


                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());
                bs.getBindingTemplates().getBindingTemplate().add(bt);

                be.getBusinessServices().getBusinessService().add(bs);

                sb.getBusinessEntity().add(be);
View Full Code Here


                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());
                AccessPoint ap = new AccessPoint();
                ap.setUseType(str255);
                ap.setValue("http://localhost");
                bt.setAccessPoint(ap);
                bs.getBindingTemplates().getBindingTemplate().add(bt);
View Full Code Here

                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());
                AccessPoint ap = new AccessPoint();
                ap.setUseType(str256);
                ap.setValue("http://localhost");
                bt.setAccessPoint(ap);
                bs.getBindingTemplates().getBindingTemplate().add(bt);
View Full Code Here

                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());
                AccessPoint ap = new AccessPoint();
                ap.setUseType(str255);
                ap.setValue(str4097);
                bt.setAccessPoint(ap);
                bs.getBindingTemplates().getBindingTemplate().add(bt);
View Full Code Here

                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());
                AccessPoint ap = new AccessPoint();
                ap.setUseType(str255);
                ap.setValue(str4096);
                bt.setAccessPoint(ap);
                bs.getBindingTemplates().getBindingTemplate().add(bt);
View Full Code Here

                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());

                bs.getBindingTemplates().getBindingTemplate().add(bt);

                be.getBusinessServices().getBusinessService().add(bs);
View Full Code Here

                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());
                bt.setAccessPoint(new AccessPoint());
                bt.getAccessPoint().setUseType(str26);

                bt.setHostingRedirector(new HostingRedirector());
View Full Code Here

                n = new Name();
                n.setValue("A first business service");
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());
                bt.setAccessPoint(new AccessPoint());
                bt.getAccessPoint().setValue(url);

                //bt.setHostingRedirector(new HostingRedirector());
                //bt.getHostingRedirector().setBindingKey(str255);
                bs.getBindingTemplates().getBindingTemplate().add(bt);

                be.getBusinessServices().getBusinessService().add(bs);

                sb.getBusinessEntity().add(be);

                System.out.println("Saving the business with the first service");
                BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);

                TckCommon.PrintBusinessDetails(saveBusiness.getBusinessEntity());

                //setup the next one
                bs = new BusinessService();
                n = new Name();
                n.setValue("A a redirected business service");
                bt = new BindingTemplate();
                bt.setHostingRedirector(new HostingRedirector());
                bt.getHostingRedirector().setBindingKey(saveBusiness.getBusinessEntity().get(0).getBusinessServices().getBusinessService().get(0).getBindingTemplates().getBindingTemplate().get(0).getBindingKey());
                bs.getName().add(n);
                bs.setBindingTemplates(new BindingTemplates());
                bs.getBindingTemplates().getBindingTemplate().add(bt);
                saveBusiness.getBusinessEntity().get(0).getBusinessServices().getBusinessService().add(bs);

                sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
View Full Code Here

                n = new Name();
                n.setValue("A first business service");
                bs.getName().add(n);
                BindingTemplate bt = new BindingTemplate();
                bs.setBindingTemplates(new BindingTemplates());
                bt.setAccessPoint(new AccessPoint());
                bt.getAccessPoint().setValue(url);

                //bt.setHostingRedirector(new HostingRedirector());
                //bt.getHostingRedirector().setBindingKey(str255);
                bs.getBindingTemplates().getBindingTemplate().add(bt);

                be.getBusinessServices().getBusinessService().add(bs);

                sb.getBusinessEntity().add(be);
                System.out.println("Saving the business with the first service");
                BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);

                TckCommon.PrintBusinessDetails(saveBusiness.getBusinessEntity());

                //setup the next one
                bs = new BusinessService();
                n = new Name();
                n.setValue("A a redirected business service");
                bt = new BindingTemplate();
                bt.setAccessPoint(new AccessPoint());
                bt.getAccessPoint().setUseType(AccessPointType.BINDING_TEMPLATE.toString());
                bt.getAccessPoint().setValue(saveBusiness.getBusinessEntity().get(0).getBusinessServices().getBusinessService().get(0).getBindingTemplates().getBindingTemplate().get(0).getBindingKey());
                bs.getName().add(n);
                bs.setBindingTemplates(new BindingTemplates());
                bs.getBindingTemplates().getBindingTemplate().add(bt);
                saveBusiness.getBusinessEntity().get(0).getBusinessServices().getBusinessService().add(bs);

                sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
View Full Code Here

                        BindingTemplate bt = new BindingTemplate();
                        bt.setAccessPoint(new AccessPoint());
                        bt.getAccessPoint().setUseType(AccessPointType.BINDING_TEMPLATE.toString());
                        bt.getAccessPoint().setValue("uddi:" + UUID.randomUUID().toString());
                        bs.getName().add(n);
                        bs.setBindingTemplates(new BindingTemplates());
                        bs.getBindingTemplates().getBindingTemplate().add(bt);
                        be.setBusinessServices(new BusinessServices());
                        be.getBusinessServices().getBusinessService().add(bs);
                        sb.getBusinessEntity().add(be);
                        BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);
View Full Code Here

TOP

Related Classes of org.uddi.api_v2.BindingTemplates

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.