* @throws Exception in the case of an invalid WorkflowConf
*/
public WorkflowConf buildWorkflowConf(String wfTemplateName, List<ServiceBean> sbs) throws Exception{
//1.add the template retrieved from the uploaded wfconfig
Template serTempl = new Template();
serTempl.setClazz(wfTemplateName);
Services services = new Services();
//2.browse through the provided services and build the Services object
for(ServiceBean sb : sbs){
Service service = new Service();