private void recommendCcComponents(List<RecommendedComponent> recommendedComponents, Set<String> processedMeasures,
final List<String> measures, final String measure, final String targetMimetype) throws PlanningServiceException {
List<IServiceInfo> ccWfs = queryCcComponents(measure, targetMimetype);
Iterator<IServiceInfo> ccIt = ccWfs.iterator();
if (ccIt.hasNext()) {
IServiceInfo wfi = ccIt.next();
WorkflowDescription wfd = MyExperimentRESTClient.getWorkflow(wfi.getDescriptor());
wfd.readMetadata();
List<Port> outputPorts = wfd.getOutputPorts();
List<String> ccMeasures = new ArrayList<String>();
for (Port port : outputPorts) {
if (measures.contains(port.getValue())) {