* @param businessKey
* @return BusinessEntity Object
* @throws DispositionReportFaultMessage
*/
public static org.uddi.api_v3.BusinessEntity getNodeBusinessEntity(String businessKey) throws DispositionReportFaultMessage {
UDDIInquiryImpl inquiry = new UDDIInquiryImpl();
org.uddi.api_v3.GetBusinessDetail gbd = new org.uddi.api_v3.GetBusinessDetail();
gbd.getBusinessKey().add(businessKey);
org.uddi.api_v3.BusinessDetail bd = inquiry.getBusinessDetail(gbd);
if (bd != null) {
List<org.uddi.api_v3.BusinessEntity> beList = bd.getBusinessEntity();
if (beList != null && beList.size() > 0)
return beList.get(0);
}