FindQualifiers juddiFindQualifiers = mapFindQualifiers(findQualifiers);
try
{
BindingDetail bindingDetail = iRegistry.findBinding(serviceKey.getId(),
ScoutJaxrUddiHelper.getCategoryBagFromClassifications(classifications),
ScoutJaxrUddiHelper.getTModelBagFromSpecifications(specifications),
juddiFindQualifiers,registryService.getMaxRows());
/*
* now convert from jUDDI ServiceInfo objects to JAXR Services
*/
if (bindingDetail != null) {
List<BindingTemplate> bindingTemplateList = bindingDetail.getBindingTemplate();
BindingTemplate[] bindarr = new BindingTemplate[bindingTemplateList.size()];
bindingTemplateList.toArray(bindarr);
LinkedHashSet<ServiceBinding> col = new LinkedHashSet<ServiceBinding>();