Package org.uddi.api_v3

Examples of org.uddi.api_v3.Name


                System.out.println("CreateKeyGenNameLangTooLongTest");

                SaveTModel st = new SaveTModel();
                st.setAuthInfo(authInfoJoe);
                TModel tm = new TModel();
                tm.setName(new Name());
                tm.getName().setValue("CreateKeyGenNameLangTooLongTest hello world");
                tm.getName().setLang(str27);
                tm.setCategoryBag(new CategoryBag());
                KeyedReference kr = new KeyedReference();
                kr.setTModelKey("uddi:uddi.org:categorization:types");
View Full Code Here


                System.out.println("CreateTmodelnoKeyGen");

                SaveTModel st = new SaveTModel();
                st.setAuthInfo(authInfoJoe);
                TModel tm = new TModel();
                tm.setName(new Name());
                tm.getName().setValue("CreateTmodelnoKeyGen My Cool Company's tmodel");
                tm.getName().setLang("en");

                tm.setTModelKey("uddi:uddi.joepublisher.com:nokeygenerator:customkey");
                st.getTModel().add(tm);
View Full Code Here

        public void BusinessKeyTooLongTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("BusinessKeyTooLongTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("BusinessKeyTooLongTest -Hello Nurse");
                be.getName().add(n);
                be.setBusinessKey(strkey256_1);
                sb.getBusinessEntity().add(be);
                try {
                        BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);
View Full Code Here

        public void BusinessNameTooShortTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("BusinessNameTooShortTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("");
                be.getName().add(n);
                sb.getBusinessEntity().add(be);
                try {
                        BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);
                        DeleteBusiness db = new DeleteBusiness();
View Full Code Here

        public void BusinessNameMinLengthTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("BusinessNameMinLengthTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                n.setValue("1");
                be.getName().add(n);
                sb.getBusinessEntity().add(be);
                BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);
                DeleteBusiness db = new DeleteBusiness();
                db.setAuthInfo(authInfoJoe);
View Full Code Here

        public void BusinessNameTooLongTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("BusinessNameTooLongTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                //256 chars
                n.setValue(str256);
                be.getName().add(n);
                sb.getBusinessEntity().add(be);
                try {
                        BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);
                        DeleteBusiness db = new DeleteBusiness();
View Full Code Here

        public void BusinessNameMaxLengthTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("BusinessNameMaxLengthTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();
                //255 chars
                n.setValue(str255);
                be.getName().add(n);
                sb.getBusinessEntity().add(be);
                BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);
                DeleteBusiness db = new DeleteBusiness();
                db.setAuthInfo(authInfoJoe);
View Full Code Here

        public void BusinessNameLangTooLongTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("BusinessNameLangTooLongTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();

                n.setValue("BusinessNameLangTooLongTest A Test business");
                //27
                n.setLang(str27);
                be.getName().add(n);
                sb.getBusinessEntity().add(be);
                try {
                        BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);
                        DeleteBusiness db = new DeleteBusiness();
View Full Code Here

        public void BusinessNameLangMaxLengthTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("BusinessNameLangMaxLengthTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();

                n.setValue("BusinessNameLangMaxLengthTest A Test business");
                n.setLang(str26);

                be.getName().add(n);
                sb.getBusinessEntity().add(be);
                BusinessDetail saveBusiness = publicationJoe.saveBusiness(sb);
                DeleteBusiness db = new DeleteBusiness();
View Full Code Here

        public void BusinessDescriptionLangTooLongTest() throws DispositionReportFaultMessage, RemoteException {
                System.out.println("BusinessDescriptionLangTooLongTest");
                SaveBusiness sb = new SaveBusiness();
                sb.setAuthInfo(authInfoJoe);
                BusinessEntity be = new BusinessEntity();
                Name n = new Name();

                n.setValue("BusinessDescriptionLangTooLongTest A Test business");
                Description d = new Description();
                d.setValue("a description");
                //27
                d.setLang(str27);
                be.getName().add(n);
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.