if(ns == null || "".equals(ns)){
dataType = new QName(WSConstants.XSD_NS_URI, type);
}else{
dataType = new QName(ns, type);
}
Workflow[] newWorkflows = new WorkflowHarvester().harvest(engineRef.getWorkflow(), dataType);
for (Workflow workflow : newWorkflows) {
GraphCanvas canvas = engineRef.getGUI().newGraphCanvas(true);
canvas.setWorkflow(workflow);
}
}