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