bc.setProcessWSDL(new URI(wsdlUrl.toExternalForm()));
bc.setOutputFile(tmpBar);
bc.compile(bpelUrl);
sf.setSystemDescriptor(sd);
sf.addResource("a.cbp", tmpBar);
for (Iterator it = resources.keySet().iterator(); it.hasNext();) {
String name = (String) it.next();
sf.addResource(name, new URL((String) resources.get(name)));
}