Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] generate the .bpel file from an EMF model

Hi,

I have created my own EMF model it's an instance of the bpel.ecore Met model (the instance can be an xmi or an xml file)

and I want to generate the ( .bpel) file from this EMF model so I need to use the BPEL Writer

am i assuming it right and if so could you give Some sample code on how to generate a .bpel file from an existing own EMF model

regards,



On Wed, May 19, 2010 at 2:47 PM, Simon D Moser <SMOSER@xxxxxxxxxx> wrote:
BPEL Reader and BPEL Writer most certainly don't work with an XMI file.
Where do you have that XMI from ? Did you create your own EMF model ?

Currently, the BPEL Reader and BPEL Writer populate/serialise to/from an
EMF model that exists (org.eclipse.bpel.model). However, the inout and
output must always be standard BPEL 2.0 XML syntax, not XMI. I don't think
you can use the BPEL model for what you are trying to achieve (but I admit,
I havent fully understood what you are trying to do).

Mit freundlichen Grüßen / Kind regards

Simon Moser

WebSphere BPM Architecture - Team Lead BPEL, BSM & Selector Editors
IBM Software Group, Application and Integration Middleware Software
Business Process Solutions Development 1
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland
Schoenaicher Str. 220
71032 Boeblingen
Phone: +49-7031-16-4304
Fax: +49-7031-16-4890
E-Mail: smoser@xxxxxxxxxx
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland Research & Development GmbH / Vorsitzender des
Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht
Stuttgart, HRB 243294




 From:       aymen saied <med.aymen.saied@xxxxxxxxx>

 To:         bpel-dev@xxxxxxxxxxx

 Date:       19.05.2010 11:15

 Subject:    [bpel-dev] generate the .bpel file from an EMF model

 Sent by:    bpel-dev-bounces@xxxxxxxxxxx






Hi,





I want to generate the .bpel file  (myBpel.bpel) from an EMF model
(myProcess.xmi) already created


 I tried to roam around the classes like BPELWriter, BPELFactoryImpl,
BPELResourceImpl etc...





What I am trying to do is to load the Process form the xmi file (EMF model)
and I then want to use write(BPELResource, OutputStream) method to to
generate the .bpel





first am i assuming it right and second could you give me example for
loading process from xmi fil and generating .bpel file








regards,_______________________________________________
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