[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.bpel-designer] Generating BPEL programmatically using bpel.model

Hello,

I would like to use the org.eclipse.bpel.model package to generate BPEL programmatically. I know that I can create and populate a Process object using the BPELFactory. Now I want to serialize it to XML. I'd thought I might be able to use the BPELWriter class, but its write method expects a BPELResource.

How would I create a new BPELResource and link that to my Process object? In the BPELResource class, I can only see a getProcess method. Also, I'm not quite sure which factory to use for the creation of the BPELResource.

I'd be glad if someone could shed some light on this.

Thanks in advance
 Leif Singer