try {
// Get registry service and business query manager
RegistryService rs = connection.getRegistryService();
BusinessQueryManager bqm = rs.getBusinessQueryManager();
BusinessLifeCycleManager blm = rs.getBusinessLifeCycleManager();
ClassificationScheme classificationScheme = bqm.findClassificationSchemeByName(null, "uddi-org:general_keywords");
Classification classification = blm.createClassification(classificationScheme,
"Test transformation service", "transformation");
Collection<Classification> classifications = new ArrayList<Classification>();
classifications.add(classification);
//Here I'd like to test filtering by this classification, but scout ignored the classification
String name=classificationScheme.getName().getValue();
logger.debug("Name=" + name);
Collection<String> nameParams = new ArrayList<String>();
//The name of the service is wild
nameParams.add("%");
BulkResponse bs = bqm.findServices(null, null,nameParams,classifications, null);