Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » XML to xmi that confirms a metamodel ???
XML to xmi that confirms a metamodel ??? [message #547416] Fri, 16 July 2010 17:02 Go to next message
Transformed is currently offline TransformedFriend
Messages: 21
Registered: June 2010
Junior Member
Hi all,

I have created a metamodel of wscdl in ecore which I want to transform to WSBPEL. I already created metamodel for wsbpel also and developed the transformation in Atlas Transformation Language (ATL) also.

My problem is now, the wscdl file is in xml file format and my metamodel only accepts the XMI file that conforms to metamodel of wscdl. Is there any tool or mechanism through which I can convert the xml file to xmi that conforms to the metamodel?. Currently I am using the editor genarated from the metamodle. genmodel and export the editor in xmi which is time consuming and does not contribute in automation. Similar is the case with other side. My out put file of tranformation is in XMI file and I need to convert it into bepl file.

How can we achieve this though any tool?

Thanks in advance
Re: XML to xmi that confirms a metamodel ??? [message #547637 is a reply to message #547416] Mon, 19 July 2010 08:36 Go to previous message
Vincent MAHE is currently offline Vincent MAHEFriend
Messages: 129
Registered: July 2009
Senior Member
Le 16/07/2010 19:02, Transformed a écrit :
> Hi all,
>
> I have created a metamodel of wscdl in ecore which I want to transform
> to WSBPEL. I already created metamodel for wsbpel also and developed the
> transformation in Atlas Transformation Language (ATL) also.
>
> My problem is now, the wscdl file is in xml file format and my metamodel
> only accepts the XMI file that conforms to metamodel of wscdl. Is there
> any tool or mechanism through which I can convert the xml file to xmi
> that conforms to the metamodel?. Currently I am using the editor
> genarated from the metamodle. genmodel and export the editor in xmi
> which is time consuming and does not contribute in automation. Similar
> is the case with other side. My out put file of tranformation is in XMI
> file and I need to convert it into bepl file.
>
> How can we achieve this though any tool?
>
> Thanks in advance

You can inject your XML textual file into a corresponding EMF model.
See:
http://www.eclipse.org/m2m/atl/atlTransformations/#MSOfficeE xcelInjector
--
Cordialement

Vincent MAHÉ

Ingénieur Expert - Projet IDM++ - Équipe AtlanMod
École des Mines de Nantes
La Chantrerie - 4, rue Alfred Kastler
B.P. 20722 - F-44307 NANTES Cedex 3
Tel: (33)2 51 85 81 00
Previous Topic:[ATL] Preferred way of using the ATL2006 compiler in Java program
Next Topic:java code
Goto Forum:
  


Current Time: Wed Apr 14 05:16:06 GMT 2021

Powered by FUDForum. Page generated in 0.02590 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top