if (sInfos == null)
Assert.fail("No result from find service operation");
List<ServiceInfo> siList = sInfos.getServiceInfo();
if (siList == null || siList.size() == 0)
Assert.fail("No result from find service operation");
ServiceInfo siOut = siList.get(0);
BusinessService bsIn = (BusinessService)EntityCreator.buildFromDoc(TckBusinessService.JOE_SERVICE_XML, "org.uddi.api_v3");
assertEquals(bsIn.getServiceKey(), siOut.getServiceKey());
TckValidator.checkNames(bsIn.getName(), siOut.getName());
serviceKey = siOut.getServiceKey();
}
catch(Exception e) {
logger.error(e.getMessage(), e);
Assert.fail("No exception should be thrown.");
}