Package org.apache.ws.scout.uddi

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


    if (businessKeyArray != null) {
      request.setBusinessKeyArray(businessKeyArray);
    }

        BusinessDetail bd;
        XmlObject o = execute(doc, this.getInquiryURI()).changeType(
                BusinessDetailDocument.type);
        bd = ((BusinessDetailDocument) o).getBusinessDetail();

        return bd;
View Full Code Here


    if (businessArray != null) {
      request.setBusinessEntityArray(businessArray);
    }

        BusinessDetail bd;
        XmlObject o = execute(doc, this.getPublishURI()).changeType(
                BusinessDetailDocument.type);
        bd = ((BusinessDetailDocument) o).getBusinessDetail();

        return bd;
View Full Code Here

            }
            for (int i = 0; i < len; i++)
            {
                BusinessInfo info = a[i];
                //Now get the details on the individual biz
                BusinessDetail detail = registry.getBusinessDetail(info.getBusinessKey());

                orgs.add(registryService.getLifeCycleManagerImpl().createOrganization(detail));
            }
            return new BulkResponseImpl(orgs);
        } catch (RegistryException e)
View Full Code Here

            }
        }
        else if (LifeCycleManager.ORGANIZATION.equalsIgnoreCase(objectType)) {         
            try
            {
                BusinessDetail orgdetail = registry.getBusinessDetail(id);
                return ScoutUddiJaxrHelper.getOrganization(orgdetail, lcm);
            }
            catch (RegistryException e) {
                e.printStackTrace();
                throw new JAXRException(e.getLocalizedMessage());
View Full Code Here

              if (ri != null) infos = ri.getBusinessInfos();
              if (infos != null) biarr = infos.getBusinessInfoArray();
                           
              for (int i = 0; i < biarr.length; i++) {
                BusinessInfo info = biarr[i];
                BusinessDetail detail = registry.getBusinessDetail(info.getBusinessKey());

                    col.add(registryService.getLifeCycleManagerImpl().createOrganization(detail));
              }
            } catch (RegistryException e) {
                    e.printStackTrace();
View Full Code Here

                    orgs = new LinkedHashSet<Organization>();
              }
             
              for (int i = 0; i < biarr.length; i++) {
                BusinessInfo info = biarr[i];
                BusinessDetail detail = registry.getBusinessDetail(info.getBusinessKey());

                    orgs.add(registryService.getLifeCycleManagerImpl().createOrganization(detail));
              }
            } catch (RegistryException re) {
              throw new JAXRException(re);
View Full Code Here

                throw new UnexpectedObjectException();
            }
        }
        log.debug("Method:save_business: ENlength=" + entityarr.length);
        // Save business
        BusinessDetail bd = null;
        try {
            bd = (BusinessDetail) executeOperation(entityarr, "SAVE_ORG");
        }
        catch (RegistryException e) {
            exceptions.add(new SaveException(e.getLocalizedMessage()));
            bulk.setStatus(JAXRResponse.STATUS_FAILURE);
            return bulk;
        }

        entityarr = bd.getBusinessEntityArray();
        log.debug("After Saving Business. Obtained vector size:" + entityarr != null ? entityarr.length : 0);
        for (int i = 0; entityarr != null && i < entityarr.length; i++) {
            BusinessEntity entity = (BusinessEntity) entityarr[i];
            coll.add(new KeyImpl(entity.getBusinessKey()));
        }
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.uddi.BusinessDetail

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.