ProcessDirectory procDir = null;
Channel chan = null;
try {
procDefDir = workflowService.processDefinitionDirectory();
procDir = workflowService.processDirectory();
ProcessMgr pmgr = procDefDir.processMgr
("chabacc", "chabacc_test_xml_receiver");
WfProcess process
= pmgr.createProcess(new DefaultRequester (workflowService));
chan = workflowService.getChannel(process, "test_channel");
DocumentBuilderFactory df = DocumentBuilderFactory.newInstance ();
Document doc = df.newDocumentBuilder ().newDocument ();
DocumentFragment frag = doc.createDocumentFragment ();
frag.appendChild(doc.createElement ("root"));