Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] Parsing BPEL


Hi Simone,

the method is called loadModel() I think...


Mit freundlichen Grüßen / Regards

Michael Illiger



Software Developer - BPEL Editor / WID
WSS Business Process Solutions Development 1
Dept. 4722, Bldg. 71032-01, Room 086
IBM Böblingen Laboratory
Schönaicherstr. 220, D-71032 Böblingen


Notes: Michael Illiger2/Germany/IBM
Internet:
milliger@xxxxxxxxxx
Phone: ++49-(0)7031-16-1273
Fax: ++49-(0)7031-16-4890


IBM Deutschland Entwicklung GmbH
Chairman of the Supervisory Board: Martin Jetter
Board of Management: Herbert Kircher (Chairman)
Corporate Seat: Böblingen
Commercial Register: Amtsgericht Stuttgart, HRB 243294








Simone <earnsimo@xxxxxxxxx>
Sent by: bpel-dev-bounces@xxxxxxxxxxx

07/23/2007 11:19 AM

Please respond to
"BPEL Designer project developer discussions." <bpel-dev@xxxxxxxxxxx>

To
"BPEL Designer project developer discussions." <bpel-dev@xxxxxxxxxxx>
cc
bpel-dev-bounces@xxxxxxxxxxx
Subject
Re: [bpel-dev] Parsing BPEL






Hi,

I've search in code of BPELEditor class (in plugin
org.eclipse.bpel.ui), as you write, but I doesn't find any method called load().

:(




2007/7/22, Simon D Moser < SMOSER@xxxxxxxxxx>:
Hi Simone,

yes, you could do that - given that your software will run in Eclipse.
You'd need the org.eclipse.bpel plugin, which is the BPEL model. It's
EMF-based code, you the only thing you need to do is to create a EMF
Resource that points to the file that you want to load, and then load the
resource.
Take a look at the code in BPELEditor class (in plugin
org.eclipse.bpel.ui), you'll find a method called load() that probably
illustrates what you want.
Once loaded, you have to get the root object of the Resource (a class
called "Process"), and then you can write the code specific to your needs
to parse it (e.g. process.getName () would return you the name of the
process)
I think you get the idea.

Cheers
Simon

Simon Moser, M.Eng.



Websphere Integration       Mail:           IBM Deutschland Entwicklung
Developer Development      
smoser@xxxxxx.  GmbH
Team Lead BPEL Editor       com             Vorsitzender des
Dept. 4722, Bldg.           Phone:          Aufsichtsrats: Martin Jetter
71032-01, Room 086          +49-7031-16-43  Geschäftsführung: Herbert
Websphere Solutions and     04              Kircher
Services                    Fax:            Sitz der Gesellschaft:
IBM Deutschland             +49-7031-16-48  Böblingen
Entwicklung GmbH            90              Registergericht: Amtsgericht
Schönaicherstr. 220, D –                    Stuttgart, HRB 243294
71032 Boeblingen










            Simone
            <
earnsimo@gmail.c
            om>                                                        To
            Sent by:                  
bpel-dev@xxxxxxxxxxx
            bpel-dev-bounces@                                          cc
           
eclipse.org
                                                                  Subject
                                      [bpel-dev] Parsing BPEL
            07/22/2007 04:08
            PM


            Please respond to
             "BPEL Designer
            project developer
              discussions."
            <bpel-dev@eclipse
                  .org>






Hi to all.

I need an API for parsing BPEL file, because i need to implement a software
like wsmo-studio for semantic annotation of bpel.
I would like to know if I can use the Bpel project libraries, and how, for
doing my project.

Thanks._______________________________________________
bpel-dev mailing list

bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev

_______________________________________________
bpel-dev mailing list

bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev

_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev


Back to the top