Examples of ServiceDetail


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

    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

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

    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

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

            }
        }
        else if (LifeCycleManager.SERVICE.equalsIgnoreCase(objectType)) {

            try {
                ServiceDetail sd = registry.getServiceDetail(id);
                if (sd != null && sd.getBusinessService()!=null) {
                    for (BusinessService businessService : sd.getBusinessService()) {
                      Service service = getServiceFromBusinessService(businessService, lcm);
                      return service;
          }
                }
            }
View Full Code Here

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

            }
        }
        else if (LifeCycleManager.SERVICE.equalsIgnoreCase(objectType)) {

            try {
                ServiceDetail serviceDetail = registry.getServiceDetail(keys);

                if (serviceDetail != null) {
                    List<BusinessService> bizServiceList = serviceDetail.getBusinessService();

                    for (BusinessService businessService: bizServiceList) {

                        Service service = getServiceFromBusinessService(businessService, lcm);
                       
View Full Code Here

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

            catch (ClassCastException ce) {
                throw new UnexpectedObjectException();
            }
        }
        // Save Service
        ServiceDetail sd = null;
        try {
            sd = (ServiceDetail) executeOperation(sarr, "SAVE_SERVICE");
        }
        catch (RegistryException e) {
            exceptions.add(new SaveException(e.getLocalizedMessage()));
            bulk.setStatus(JAXRResponse.STATUS_FAILURE);
            return bulk;
        }

        List<BusinessService> bizServiceList = sd.getBusinessService();
        sarr = new BusinessService[bizServiceList.size()];
        bizServiceList.toArray(sarr);
       
        for (int i = 0; sarr != null && i < sarr.length; i++) {
            BusinessService entity = (BusinessService) sarr[i];
View Full Code Here

Examples of org.apache.ws.scout.uddi.ServiceDetail

    if (serviceKeyArray != null) {
      request.setServiceKeyArray(serviceKeyArray);
    }

        ServiceDetail sd;
        XmlObject o = execute(doc, this.getInquiryURI()).changeType(
                ServiceDetailDocument.type);
        sd = ((ServiceDetailDocument) o).getServiceDetail();

        return sd;
View Full Code Here

Examples of org.apache.ws.scout.uddi.ServiceDetail

    if (serviceArray != null) {
      request.setBusinessServiceArray(serviceArray);
    }

        ServiceDetail sd;
        XmlObject o = execute(doc, this.getPublishURI()).changeType(
                ServiceDetailDocument.type);
        sd = ((ServiceDetailDocument) o).getServiceDetail();

        return sd;
View Full Code Here

Examples of org.omg.CORBA.ServiceDetail

    s.service_options = new int[] { 9, 8, 7, 4, 5 };

    s.service_details =
      new ServiceDetail[]
      {
        new ServiceDetail(5, new byte[] { 1, 2, 3 }),
        new ServiceDetail(7, new byte[] { 9, 8, 7 })
      };

    return s;
  }
View Full Code Here

Examples of org.omg.CORBA.ServiceDetail

                 x.service_details.length
                );

    for (int k = 0; k < s.service_details.length; k++)
      {
        ServiceDetail e = s.service_details [ k ];
        ServiceDetail a = x.service_details [ k ];
        assertEquals("s_d[" + k + "].service_detail_type",
                     e.service_detail_type, a.service_detail_type
                    );
        assertEquals("s_d[" + k + "].length", e.service_detail.length,
                     a.service_detail.length
View Full Code Here

Examples of org.uddi.api_v2.ServiceDetail

       
        public static ServiceDetail MapServiceDetail(org.uddi.api_v3.ServiceDetail serviceDetail, String operator) {
                if (serviceDetail == null) {
                        return null;
                }
                ServiceDetail r = new ServiceDetail();
                if (serviceDetail.isTruncated() != null && serviceDetail.isTruncated()) {
                        r.setTruncated(Truncated.TRUE);
                } else {
                        r.setTruncated(Truncated.FALSE);
                }
                r.setGeneric(VERSION);
                r.setOperator(operator);
                r.getBusinessService().addAll(MapService(serviceDetail.getBusinessService()));
                return r;
               
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.