try {
FindBusiness body = (FindBusiness)EntityCreator.buildFromDoc(FIND_BUSINESS_XML, "org.uddi.api_v3");
BusinessList result = inquiry.findBusiness(body);
if (result == null)
Assert.fail("Null result from find business operation");
BusinessInfos bInfos = result.getBusinessInfos();
if (bInfos == null)
Assert.fail("No result from find business operation");
List<BusinessInfo> biList = bInfos.getBusinessInfo();
if (biList == null || biList.size() == 0)
Assert.fail("No result from find business operation");
BusinessInfo biOut = biList.get(0);
BusinessEntity beIn = (BusinessEntity)EntityCreator.buildFromDoc(TckBusiness.JOE_BUSINESS_XML, "org.uddi.api_v3");