Package org.uddi.api_v2

Examples of org.uddi.api_v2.OverviewDoc


                KeyedReference kr = new KeyedReference();
                kr.setTModelKey(UDDIConstants.KEY_GENERATOR_TMODEL);
                kr.setKeyName(UDDIConstants.KEY_GENERATOR);
                kr.setKeyValue(UDDIConstants.KEY_GENERATOR_VALUE);
                tm.getCategoryBag().getKeyedReference().add(kr);
                OverviewDoc overviewDoc = new OverviewDoc();
                OverviewURL overviewUrl = new OverviewURL();
                overviewUrl.setUseType("text");
                overviewUrl.setValue("http://uddi.org/pubs/uddi_v3.htm#keyGen");
                overviewDoc.setOverviewURL(overviewUrl);
                tm.getOverviewDoc().add(overviewDoc);
                tm.setTModelKey(partitionName.toLowerCase());
                return tm;
        }
View Full Code Here


                TModelInstanceInfo tt = new TModelInstanceInfo();
                tt.setTModelKey(UDDIConstants.VERSION_TMODEL);
                tt.setInstanceDetails(new InstanceDetails());
                tt.getInstanceDetails().setInstanceParms(version);

                OverviewDoc doc = new OverviewDoc();
                doc.setOverviewURL(new OverviewURL("http://www.ibm.com/developerworks/webservices/library/ws-version/", "text"));
                doc.getDescription().add(new Description(
                        "Describes a version associated with either a service interface, a bindingTemplate service instance.", lang));
                tt.getDescription().add(new Description("Describes a version associated with either a service interface, a bindingTemplate service instance.", lang));
                tt.getInstanceDetails().getOverviewDoc().add(doc);
                return tt;
        }
View Full Code Here

                x.getDescription().addAll(getDescriptions());
                x.setTModelKey(domainprefix+"tid");
                x.setInstanceDetails(new InstanceDetails());
                x.getInstanceDetails().getDescription().addAll(getDescriptions());
                x.getInstanceDetails().setInstanceParms("asdasdasdasdasd");
                OverviewDoc o = new OverviewDoc();
  //              o.getDescription().addAll(getDescriptions());
                o.setOverviewURL(new OverviewURL("http://localhost", "overview"));
                x.getInstanceDetails().getOverviewDoc().add(o);
                r.getTModelInstanceInfo().add(x);
                return r;
        }
View Full Code Here

                        tModel.setName(name);
                        // Set the OverviewURL
                        OverviewURL overviewURL = new OverviewURL();
                        overviewURL.setUseType(AccessPointType.WSDL_DEPLOYMENT.toString());
                        overviewURL.setValue(wsdlURL);
                        OverviewDoc overviewDoc = new OverviewDoc();
                        overviewDoc.setOverviewURL(overviewURL);
                        tModel.getOverviewDoc().add(overviewDoc);
                        // Set the categoryBag
                        CategoryBag categoryBag = new CategoryBag();

                        if (namespace != null && !"".equals(namespace)) {
View Full Code Here

                        // overviewURL containing the location of the WSDL document that
                        // describes the wsdl:portType.
                        OverviewURL overviewURL = new OverviewURL();
                        overviewURL.setUseType(AccessPointType.WSDL_DEPLOYMENT.toString());
                        overviewURL.setValue(wsdlURL);
                        OverviewDoc overviewDoc = new OverviewDoc();
                        overviewDoc.setOverviewURL(overviewURL);
                        tModel.getOverviewDoc().add(overviewDoc);
                        // Create the categoryBag, The tModel MUST contain a categoryBag
                        CategoryBag categoryBag = new CategoryBag();

            // the categoryBag MUST contain a keyedReference with a tModelKey of the WSDL
View Full Code Here

      name.setValue(serviceName.getLocalPart());
      tModel.setName(name);
      // Set the OverviewURL
      OverviewURL overviewURL = new OverviewURL();
      overviewURL.setValue("http://localhost:8080/bpel-console/"); //should point to the bpel of this process, maybe in guvnor
      OverviewDoc overviewDoc = new OverviewDoc();
      overviewDoc.setOverviewURL(overviewURL);
      tModel.getOverviewDoc().add(overviewDoc);
      // Set the categoryBag
      CategoryBag categoryBag = new CategoryBag();
     
      if (targetNamespace!=null) {
View Full Code Here

                item.setTModelKey(be.getTModelKey());
                item.setName(new Name(be.getName().getValue(), be.getName().getLang()));
                item.setCategoryBag(MapCategoryBag(be.getCategoryBag()));
                item.setIdentifierBag(MapIdentBag(be.getIdentifierBag()));
                item.getDescription().addAll(MapDescription(be.getDescription()));
                OverviewDoc MapOverviewDoc = MapOverviewDoc(be.getOverviewDoc());
                if (MapOverviewDoc != null) {
                        item.getOverviewDoc().add(MapOverviewDoc);
                }
                return item;
        }
View Full Code Here

         */
        private static OverviewDoc MapOverviewDoc(org.uddi.api_v2.OverviewDoc overviewDoc) {
                if (overviewDoc == null) {
                        return null;
                }
                OverviewDoc r = new OverviewDoc();
                r.getDescription().addAll(MapDescription(overviewDoc.getDescription()));
                if (overviewDoc.getOverviewURL() != null) {
                        r.setOverviewURL(new OverviewURL());
                        overviewDoc.getDescription();
                        r.getOverviewURL().setValue(overviewDoc.getOverviewURL());
                }
                return r;
        }
View Full Code Here

    name.setValue("Joe Publisher's Key Generator");
    keyGenerator.setName(name);
    Description description = new Description();
    description.setValue("This is the key generator for Joe Publisher's UDDI entities!");
    keyGenerator.getDescription().add(description);
    OverviewDoc overviewDoc = new OverviewDoc();
    OverviewURL overviewUrl = new OverviewURL();
    overviewUrl.setUseType("text");
    overviewUrl.setValue("http://uddi.org/pubs/uddi_v3.htm#keyGen");
    overviewDoc.setOverviewURL(overviewUrl);
    keyGenerator.getOverviewDoc().add(overviewDoc);
    CategoryBag categoryBag = new CategoryBag();
    KeyedReference keyedReference = new KeyedReference();
    keyedReference.setKeyName("uddi-org:types:keyGenerator");
    keyedReference.setKeyValue("keyGenerator");
View Full Code Here

    name.setValue("Joe Publisher's Key Generator");
    keyGenerator.setName(name);
    Description description = new Description();
    description.setValue("This is the key generator for Joe Publisher's UDDI entities!");
    keyGenerator.getDescription().add(description);
    OverviewDoc overviewDoc = new OverviewDoc();
    OverviewURL overviewUrl = new OverviewURL();
    overviewUrl.setUseType("text");
    overviewUrl.setValue("http://uddi.org/pubs/uddi_v3.htm#keyGen");
    overviewDoc.setOverviewURL(overviewUrl);
    keyGenerator.getOverviewDoc().add(overviewDoc);
    CategoryBag categoryBag = new CategoryBag();
    KeyedReference keyedReference = new KeyedReference();
    keyedReference.setKeyName("uddi-org:types:keyGenerator");
    keyedReference.setKeyValue("keyGenerator");
View Full Code Here

TOP

Related Classes of org.uddi.api_v2.OverviewDoc

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.