/**
* Import the process definitions from a XPDL file
* unsing the ProcessDefinitionDirectory bean.
*/
public void importProcessDefinitions() throws Exception {
WorkflowServiceFactory wsf = WorkflowServiceFactory.newInstance();
WorkflowService ws = wsf.newWorkflowService();
pdd = ws.processDefinitionDirectory();
InputStream is = getClass().getResourceAsStream("/load/processes.xml");
assertTrue (is != null);
BufferedReader br = new BufferedReader
(new InputStreamReader(is, "ISO-8859-1"));