Package org.apache.ws.scout.uddi

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


    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


    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

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

            try {

              
                ServiceDetail sd = registry.getServiceDetail(id);

                if (sd != null) {

                    BusinessService[] a = sd.getBusinessServiceArray();

                    if (a != null && a.length != 0) {
                        Service service = getServiceFromBusinessService(a[0], lcm);

                        return service;
View Full Code Here

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

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

                if (serviceDetail != null) {

                    BusinessService[] a = serviceDetail.getBusinessServiceArray();

                    for (int i=0; a != null && i < a.length; i++) {

                        Service service = getServiceFromBusinessService(a[i], lcm);
                       
View Full Code Here

            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;
        }

        sarr = sd.getBusinessServiceArray();
        for (int i = 0; sarr != null && i < sarr.length; i++) {
            BusinessService entity = (BusinessService) sarr[i];
            coll.add(new KeyImpl(entity.getServiceKey()));
        }
        bulk.setCollection(coll);
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.uddi.ServiceDetail$Factory

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.