Package org.uddi.api_v2

Examples of org.uddi.api_v2.DispositionReport


      }
    } catch (Exception e) {
      e.printStackTrace();
    }
     
    DispositionReport dr = new DispositionReport();
    Result res = new Result();
    dr.getResult().add(res);
    return dr;
  }
View Full Code Here


    findTModel.setAuthInfo(getAuthToken(node.getSecurityUrl()));
    try {
      TModelList tModelList = getUDDINode().getTransport().getUDDIInquiryService(node.getInquiryUrl()).findTModel(findTModel);
      return tModelList;
    } catch (DispositionReportFaultMessage dr) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
      checkForErrorInDispositionReport(report, null, null);
    } catch (SOAPFaultException sfe) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
      checkForErrorInDispositionReport(report, null, null);
    } catch (UndeclaredThrowableException ute) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
      checkForErrorInDispositionReport(report, null, null);
    }
    return null;
  }
View Full Code Here

    getTModelDetail.setAuthInfo(getAuthToken(node.getSecurityUrl()));
    try {
      TModelDetail tModelDetail = getUDDINode().getTransport().getUDDIInquiryService(node.getInquiryUrl()).getTModelDetail(getTModelDetail);
      return tModelDetail;
    } catch (DispositionReportFaultMessage dr) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
      checkForErrorInDispositionReport(report, null, null);
    } catch (SOAPFaultException sfe) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
      checkForErrorInDispositionReport(report, null, null);
    } catch (UndeclaredThrowableException ute) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
      checkForErrorInDispositionReport(report, null, null);
    }
    return null;
  }
View Full Code Here

      ServiceDetail sd = getUDDINode().getTransport().getUDDIInquiryService(node.getInquiryUrl()).getServiceDetail(getServiceDetail);
      List<BusinessService> businessServiceList = sd.getBusinessService();
      if (businessServiceList.size() == 0) throw new ConfigurationException("Could not find Service with key=" + serviceKey);
      return businessServiceList.get(0);
    } catch (DispositionReportFaultMessage dr) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, serviceKey);
    } catch (SOAPFaultException sfe) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, serviceKey);
    } catch (UndeclaredThrowableException ute) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, serviceKey);
    }
    return null;
  }
View Full Code Here

      BindingDetail bd = getUDDINode().getTransport().getUDDIInquiryService(node.getInquiryUrl()).getBindingDetail(getBindingDetail);
      List<BindingTemplate> bindingTemplateList = bd.getBindingTemplate();
      if (bindingTemplateList.size() == 0) throw new ConfigurationException("Could not find ServiceBinding with key=" + bindingKey);
      return bindingTemplateList.get(0);
    } catch (DispositionReportFaultMessage dr) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, bindingKey);
    } catch (SOAPFaultException sfe) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, bindingKey);
    } catch (UndeclaredThrowableException ute) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, bindingKey);
    }
    return null;
  }
View Full Code Here

    getBusinessDetail.setAuthInfo(node.getSecurityUrl());
    try {
      BusinessDetail bd = getUDDINode().getTransport().getUDDIInquiryService(node.getInquiryUrl()).getBusinessDetail(getBusinessDetail);
      return bd.getBusinessEntity().get(0);
    } catch (DispositionReportFaultMessage dr) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey);
    } catch (SOAPFaultException sfe) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey);
    } catch (UndeclaredThrowableException ute) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey);
    }
    return null;
  }
View Full Code Here

    findRelatedBusinesses.setAuthInfo(node.getSecurityUrl());
    try {
      RelatedBusinessesList rbl = getUDDINode().getTransport().getUDDIInquiryService(node.getInquiryUrl()).findRelatedBusinesses(findRelatedBusinesses);
      return rbl;
    } catch (DispositionReportFaultMessage dr) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey);
    } catch (SOAPFaultException sfe) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey);
    } catch (UndeclaredThrowableException ute) {
      DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
      checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey);
    }
    return null;
  }
View Full Code Here

                findTModel.setAuthInfo(getAuthToken(node.getSecurityUrl()));
                try {
                        TModelList tModelList = getUDDINode().getTransport().getUDDIInquiryService(node.getInquiryUrl()).findTModel(findTModel);
                        return tModelList;
                } catch (DispositionReportFaultMessage dr) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
                        checkForErrorInDispositionReport(report, null, null);
                } catch (SOAPFaultException sfe) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
                        checkForErrorInDispositionReport(report, null, null);
                } catch (UndeclaredThrowableException ute) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
                        checkForErrorInDispositionReport(report, null, null);
                }
                return null;
        }
View Full Code Here

                getTModelDetail.setAuthInfo(getAuthToken(node.getSecurityUrl()));
                try {
                        TModelDetail tModelDetail = getUDDINode().getTransport().getUDDIInquiryService(node.getInquiryUrl()).getTModelDetail(getTModelDetail);
                        return tModelDetail;
                } catch (DispositionReportFaultMessage dr) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
                        checkForErrorInDispositionReport(report, null, null);
                } catch (SOAPFaultException sfe) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
                        checkForErrorInDispositionReport(report, null, null);
                } catch (UndeclaredThrowableException ute) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
                        checkForErrorInDispositionReport(report, null, null);
                }
                return null;
        }
View Full Code Here

                        if (businessServiceList.size() == 0) {
                                throw new ConfigurationException("Could not find Service with key=" + serviceKey);
                        }
                        return businessServiceList.get(0);
                } catch (DispositionReportFaultMessage dr) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
                        checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, serviceKey);
                } catch (SOAPFaultException sfe) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(sfe);
                        checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, serviceKey);
                } catch (UndeclaredThrowableException ute) {
                        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(ute);
                        checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, serviceKey);
                }
                return null;
        }
View Full Code Here

TOP

Related Classes of org.uddi.api_v2.DispositionReport

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.