Package org.uddi.api_v3

Examples of org.uddi.api_v3.Name


        public void KeyReferenceKeyTooLong() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("KeyReferenceKeyTooLong");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("KeyReferenceKeyTooLong A Test business");
                be.getName().add(n);
                be.setCategoryBag(new CategoryBag());
                KeyedReference kr = new KeyedReference();
                kr.setKeyName(str255);
                kr.setKeyValue(str255);
View Full Code Here


                        Subscription s = new Subscription();
                        s.setSubscriptionFilter(new SubscriptionFilter());
                        s.getSubscriptionFilter().setFindBusiness(new FindBusiness());
                        s.getSubscriptionFilter().getFindBusiness().setFindQualifiers(new FindQualifiers());
                        s.getSubscriptionFilter().getFindBusiness().getFindQualifiers().getFindQualifier().add(UDDIConstants.APPROXIMATE_MATCH);
                        s.getSubscriptionFilter().getFindBusiness().getName().add(new Name(UDDIConstants.WILDCARD, null));
                        items.value.add(s);
                        sub.saveSubscription(authInfoJoe, items);
                        keys.add(items.value.get(0).getSubscriptionKey());
                }
                List<Subscription> subscriptions = sub.getSubscriptions(authInfoJoe);
View Full Code Here

        public void KeyReferenceNameTooLong() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("KeyReferenceNameTooLong");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("KeyReferenceNameTooLong A Test business");
                be.getName().add(n);
                be.setCategoryBag(new CategoryBag());
                KeyedReference kr = new KeyedReference();
                kr.setKeyName(str256);
                kr.setKeyValue(str255);
View Full Code Here

        public void KeyReferenceValueTooLong() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("KeyReferenceValueTooLong");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("KeyReferenceValueTooLong A Test business");
                be.getName().add(n);
                be.setCategoryBag(new CategoryBag());
                KeyedReference kr = new KeyedReference();
                kr.setKeyName(str255);
                kr.setKeyValue(str256);
View Full Code Here

        public void ServiceNameTooLongTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("ServiceNameTooLongTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("ServiceNameTooLongTest A Test business");
                be.getName().add(n);
                be.setBusinessServices(new BusinessServices());
                BusinessService bs = new BusinessService();
                n = new Name();
                n.setValue(str256);
                bs.getName().add(n);
                be.getBusinessServices().getBusinessService().add(bs);

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

        public void ServiceNameMaxLenTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("ServiceNameMaxLenTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("ServiceNameMaxLenTest A Test business");
                be.getName().add(n);
                be.setBusinessServices(new BusinessServices());
                BusinessService bs = new BusinessService();
                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                be.getBusinessServices().getBusinessService().add(bs);

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

        public void ServiceNameMaxLangLenTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("ServiceNameMaxLangLenTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("ServiceNameMaxLangLenTest A Test business");
                be.getName().add(n);
                be.setBusinessServices(new BusinessServices());
                BusinessService bs = new BusinessService();
                n = new Name();
                n.setValue(str255);
                n.setLang(str26);
                bs.getName().add(n);
                be.getBusinessServices().getBusinessService().add(bs);

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

        public void ServiceNameTooLongLangTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("ServiceNameTooLongLangTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("ServiceNameTooLongLangTest A Test business");
                be.getName().add(n);
                be.setBusinessServices(new BusinessServices());
                BusinessService bs = new BusinessService();
                n = new Name();
                n.setValue(str255);
                n.setLang(str27);
                bs.getName().add(n);
                be.getBusinessServices().getBusinessService().add(bs);

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

        public void ServiceDescTooLongTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("ServiceDescTooLongTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("ServiceDescTooLongTest A Test business");
                be.getName().add(n);
                be.setBusinessServices(new BusinessServices());
                BusinessService bs = new BusinessService();
                Description d = new Description();
                d.setValue(str256);
                bs.getDescription().add(d);
                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                be.getBusinessServices().getBusinessService().add(bs);

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

        public void ServiceDescLangTooLongTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("ServiceDescLangTooLongTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("ServiceDescLangTooLongTest A Test business");
                be.getName().add(n);
                be.setBusinessServices(new BusinessServices());
                BusinessService bs = new BusinessService();
                Description d = new Description();
                d.setValue(str255);
                d.setLang(str27);
                bs.getDescription().add(d);
                n = new Name();
                n.setValue(str255);
                bs.getName().add(n);
                be.getBusinessServices().getBusinessService().add(bs);

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

TOP

Related Classes of org.uddi.api_v3.Name

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.