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

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


   *
   * @exception RegistryException;
   */
  public TModelDetail saveTModel(String authInfo, TModel[] tModelArray)
      throws RegistryException {
    SaveTModel request = this.objectFactory.createSaveTModel();

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

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

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


    if (serviceKeyArray != null) {
      request.getServiceKey().addAll(Arrays.asList(serviceKeyArray));
    }

        ServiceDetail sd;
        JAXBElement<?> o = execute(this.objectFactory.createGetServiceDetail(request),
            this.getInquiryURI());
        sd = (ServiceDetail) o.getValue();

        return sd;
View Full Code Here

    if (serviceArray != null) {
      request.getBusinessService().addAll(Arrays.asList(serviceArray));
    }

        ServiceDetail sd;
        JAXBElement<?> o = execute(this.objectFactory.createSaveService(request),
            this.getPublishURI());
        sd = (ServiceDetail) o.getValue();

        return sd;
View Full Code Here

            org.setDescription(createInternationalString(descriptions.get(0).getValue()));
        }
        if (serviceInfos != null && serviceInfos.size() > 0) {
            List<Service> services = new ArrayList<Service>(serviceInfos.size());
            for (int i = 0; i < serviceInfos.size(); i++) {
                ServiceInfo serviceInfo = serviceInfos.get(i);
                services.add(createService(serviceInfo));
            }
            org.addServices(services);
        }
View Full Code Here

            org.setDescription(createInternationalString(descriptions.get(0).getValue()));
        }
        if (serviceInfos != null && serviceInfos.size() > 0) {
            List<Service> services = new ArrayList<Service>(serviceInfos.size());
            for (int i = 0; i < serviceInfos.size(); i++) {
                ServiceInfo serviceInfo = serviceInfos.get(i);
                services.add(createService(serviceInfo));
            }
            org.addServices(services);
        }
View Full Code Here

      request.setFindQualifiers(findQualifiers);
    }

    request.setMaxRows(maxRows);

        ServiceList sl;
        JAXBElement<?> o = execute(this.objectFactory.createFindService(request),
            this.getInquiryURI());
        sl = (ServiceList) o.getValue();

        return sl;
View Full Code Here

  /**
   * @exception RegistryException;
   */
  public PublisherAssertions setPublisherAssertions(String authInfo,
      PublisherAssertion[] assertionArray) throws RegistryException {
    SetPublisherAssertions request = this.objectFactory.createSetPublisherAssertions();

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

    if (assertionArray != null) {
      request.getPublisherAssertion().addAll(Arrays.asList(assertionArray));
    }

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

      try {
      if (specifications == null || specifications.size()==0)
        return null;
       
        // Classifications
      TModelBag tbag = objectFactory.createTModelBag();
      Iterator speciter = specifications.iterator();
      while (speciter.hasNext()) {
        RegistryObject registryobject = (RegistryObject) speciter.next();
        if (registryobject instanceof Concept) {
                    Concept concept = (Concept) registryobject;
                    if (concept.getKey() != null) {
                        tbag.getTModelKey().add(concept.getKey().toString());
                    }
//        if (registryobject instanceof SpecificationLink) {
//          SpecificationLink specificationlink = (SpecificationLink) registryobject;
//          if (specificationlink.getSpecificationObject() != null) {
//            RegistryObject ro = specificationlink.getSpecificationObject();
View Full Code Here

    }

    if (tModelBag != null) {
      request.setTModelBag(tModelBag);
    } else {
      TModelBag tmb = this.objectFactory.createTModelBag();
      request.setTModelBag(tmb);
    }

    if (findQualifiers != null) {
      request.setFindQualifiers(findQualifiers);
View Full Code Here

    if (tModelKeyArray != null) {
      request.getTModelKey().addAll(Arrays.asList(tModelKeyArray));
    }

        TModelDetail tmd;
        JAXBElement<?> o = execute(this.objectFactory.createGetTModelDetail(request),
            this.getInquiryURI());
        tmd = (TModelDetail) o.getValue();

        return tmd;
View Full Code Here

TOP

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

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.