request.getLocale());
processDef = client.getProcessInfo(QName.valueOf(pid)).getDefinitionInfo().getDefinition().getExtraElement().toString();
BPELInterface bpel = new BPELImpl();
OMElement bpelStr = bpel.load(processDef);
bpel.processBpelString(bpelStr);
LayoutManager layoutManager = BPEL2SVGFactory.getInstance().getLayoutManager();
layoutManager.setVerticalLayout(true);
layoutManager.layoutSVG(bpel.getRootActivity());