Package org.apache.ws.scout.model.uddi.v2

Examples of org.apache.ws.scout.model.uddi.v2.GetPublisherAssertions


    if (tModelArray != null) {
      request.getTModel().addAll(Arrays.asList(tModelArray));
    }

        TModelDetail tmd;
        JAXBElement<?> o = execute(this.objectFactory.createSaveTModel(request),
            this.getPublishURI());
        tmd = (TModelDetail) o.getValue();
        return tmd;
  }
View Full Code Here


           
            addDescriptions(bt.getDescription(), idesc);

      // SpecificationLink
           Collection<SpecificationLink> slcol = serviceBinding.getSpecificationLinks();
      TModelInstanceDetails tid = objectFactory.createTModelInstanceDetails();
      if (slcol != null && !slcol.isEmpty()) {
              Iterator<SpecificationLink> iter = slcol.iterator();
        while (iter.hasNext()) {
          SpecificationLink slink = (SpecificationLink) iter.next();

          TModelInstanceInfo emptyTInfo = objectFactory.createTModelInstanceInfo();
          tid.getTModelInstanceInfo().add(emptyTInfo);

                    RegistryObject specificationObject = slink.getSpecificationObject();
          if (specificationObject.getKey() != null && specificationObject.getKey().getId() != null) {
            emptyTInfo.setTModelKey(specificationObject.getKey().getId());
                        if (specificationObject.getDescription()!=null) {
View Full Code Here

      if (slcol != null && !slcol.isEmpty()) {
              Iterator<SpecificationLink> iter = slcol.iterator();
        while (iter.hasNext()) {
          SpecificationLink slink = (SpecificationLink) iter.next();

          TModelInstanceInfo emptyTInfo = objectFactory.createTModelInstanceInfo();
          tid.getTModelInstanceInfo().add(emptyTInfo);

                    RegistryObject specificationObject = slink.getSpecificationObject();
          if (specificationObject.getKey() != null && specificationObject.getKey().getId() != null) {
            emptyTInfo.setTModelKey(specificationObject.getKey().getId());
                        if (specificationObject.getDescription()!=null) {
                            for (Object o : specificationObject.getDescription().getLocalizedStrings()) {
                                LocalizedString locDesc = (LocalizedString) o;
                                Description description = objectFactory.createDescription();
                                emptyTInfo.getDescription().add(description);
                                description.setValue(locDesc.getValue());
                                description.setLang(locDesc.getLocale().getLanguage());
                            }
                        }
                        Collection<ExternalLink> externalLinks = slink.getExternalLinks();
                        if (externalLinks!=null && externalLinks.size()>0) {
                            for (ExternalLink link : externalLinks) {
                                InstanceDetails ids = objectFactory.createInstanceDetails();
                                emptyTInfo.setInstanceDetails(ids);
                                if (link.getDescription()!=null) {
                                    Description description = objectFactory.createDescription();
                                    ids.getDescription().add(description);
                                    description.setValue(link.getDescription().getValue());
                                }
View Full Code Here

      request.setFindQualifiers(findQualifiers);
    }

    request.setMaxRows(maxRows);

        TModelList tml;
        JAXBElement<?> o = execute(this.objectFactory.createFindTModel(request),
            this.getInquiryURI());
        tml = (TModelList) o.getValue();

        return tml;
View Full Code Here

      return tokenstr;
   }

  private static URLType getURLType(String accessuri) {
       String acc = accessuri.toLowerCase();
    URLType uri = URLType.OTHER;
    if (acc.startsWith("http:"))
      uri = URLType.HTTP;
    else if (acc.startsWith("https:"))
      uri = URLType.HTTPS;
    else if (acc.startsWith("ftp:"))
View Full Code Here

                r.getTModel().addAll(MapTModelList(body.getTModel()));
                return r;
        }
       
        public static GetPublisherAssertions MapGetPublisherAssertions(String authInfo) {
                GetPublisherAssertions r = new GetPublisherAssertions();
                r.setAuthInfo(authInfo);
                r.setGeneric(VERSION);
               
                return r;
        }
View Full Code Here

        }
        if (method.equalsIgnoreCase("getAssertionStatusReport")) {
            JAXB.marshal(new GetAssertionStatusReport(), sw);
        }
        if (method.equalsIgnoreCase("getPublisherAssertions")) {
            JAXB.marshal(new GetPublisherAssertions(), sw);
        }
        if (method.equalsIgnoreCase("getRegisteredInfo")) {
            JAXB.marshal(new GetRegisteredInfo(), sw);
        }
        if (method.equalsIgnoreCase("saveBinding")) {
View Full Code Here

  /**
   * @exception RegistryV3Exception;
   */
  public PublisherAssertions getPublisherAssertions(String authInfo)
      throws RegistryV3Exception {
    GetPublisherAssertions request = this.objectFactory.createGetPublisherAssertions();

    if (authInfo != null) {
      request.setAuthInfo(authInfo);
    }

        PublisherAssertions pa = new PublisherAssertions();
        JAXBElement<?> o = execute(this.objectFactory.createGetPublisherAssertions(request),
            this.getPublishURI());
View Full Code Here

          if (holder.value!=null) {
              assertions.getPublisherAssertion().addAll(holder.value);
          }
          result = assertions;
      } else if (operationClass.equals(GetPublisherAssertions.class)) {
          GetPublisherAssertions getPublisherAssertions = (GetPublisherAssertions) uddiReqObj;
          Method method = portType.getClass().getMethod(methodName, String.class);
          result = method.invoke(portType, getPublisherAssertions.getAuthInfo());
          List<PublisherAssertion> assertionList = (List<PublisherAssertion>) result;
          PublisherAssertionsResponse publisherAssertionsResponse = new PublisherAssertionsResponse();
          if (assertionList!=null) {
              publisherAssertionsResponse.getPublisherAssertion().addAll(assertionList);
          }
View Full Code Here

                                if (holder.value != null) {
                                        assertions.getPublisherAssertion().addAll(holder.value);
                                }
                                result = assertions;
                        } else if (operationClass.equals(GetPublisherAssertions.class)) {
                                GetPublisherAssertions getPublisherAssertions = (GetPublisherAssertions) uddiReqObj;
                                Method method = portType.getClass().getMethod(methodName, String.class);
                                result = method.invoke(portType, getPublisherAssertions.getAuthInfo());
                                List<PublisherAssertion> assertionList = (List<PublisherAssertion>) result;
                                PublisherAssertionsResponse publisherAssertionsResponse = new PublisherAssertionsResponse();
                                if (assertionList != null) {
                                        publisherAssertionsResponse.getPublisherAssertion().addAll(assertionList);
                                }
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.model.uddi.v2.GetPublisherAssertions

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.