Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL] uml2bpel problem
[ATL] uml2bpel problem [message #81988] Thu, 22 May 2008 01:40 Go to next message
Eclipse UserFriend
Originally posted by: hr_mi.live.cn

Hi everyone,

I want to make a transformation from uml to bpel ,my code is as following :

------------------------------------------------------------ -----

--@atlcompiler atl2006

module uml2bpel; -- Module Template
create OUT : BPEL from IN : UML;

-------------------------------------

rule process{
from
u : UML!Activity
to
p : BPEL!Process(
exitOnStandardFault <- true,
expressionLanguage <- '',
queryLanguage <- 'urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0',
suppressJoinFailure <- true,
targetNamespace <- 'edu.xidian.ictt.webservices.bpelmodeling',
name <- u.name,
imports <- imp
),
imp : BPEL!Import(
location <- 'onlinesale.bpel.wsdl/',
importType <- 'http://schemas.xmlsoap.org/wsdl/',
namespace <- 'edu.xidian.ictt.webservices.bpelmodeling.wsdl'
)
}

----------------------------------------------

when i debug ,it makes an error as following :

************************************************************ ****
严重: Message: feature location does not exist on BPEL!Import
严重: A.main() : ??#24 null
严重: local variables = {self=uml2bpel : ASMModule}
严重: local stack = []
严重: A.__exec__() : ??#8 null
严重: local variables = {e=TransientLink {rule = 'process',
sourceElements = {u = IN!onlinesale}, targetElements = {imp =
OUT!<unnamed>, p = OUT!onlinesale}, variables = {}}, self=uml2bpel :
ASMModule}
严重: local stack = []
严重: A.__applyprocess(1 : NTransientLink;) : ??#55 26:6-26:41
严重: local variables = {p=OUT!onlinesale, u=IN!onlinesale,
link=TransientLink {rule = 'process', sourceElements = {u =
IN!onlinesale}, targetElements = {imp = OUT!<unnamed>, p =
OUT!onlinesale}, variables = {}}, self=uml2bpel : ASMModule,
imp=OUT!<unnamed>}
严重: local stack = [OUT!<unnamed>]
严重:
************************************************************ *************
严重: ********************************* ERROR
*********************************
严重:
java.lang.Exception
at
org.eclipse.m2m.atl.engine.vm.NetworkDebugger.error(NetworkD ebugger.java:165)
at
org.eclipse.m2m.atl.engine.vm.StackFrame.printStackTrace(Sta ckFrame.java:95)
at
org.eclipse.m2m.atl.engine.vm.StackFrame.printStackTrace(Sta ckFrame.java:87)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:173)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:143)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:101)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:240)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:338)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:171)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:143)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:101)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:240)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:171)
at
org.eclipse.m2m.atl.engine.vm.ASMInterpreter.<init>(ASMInterpreter.java:299)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:169)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:111)
at org.eclipse.m2m.atl.engine.AtlLauncher.debug(AtlLauncher.jav a:105)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:359)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:463)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.access$0(AtlR egularVM.java:445)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM$1.run(AtlRegu larVM.java:423)
严重: null
java.lang.NullPointerException
at
org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModelElement.set(A SMEMFModelElement.java:260)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:305)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:171)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:143)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:101)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:240)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:338)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:171)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:143)
at
org.eclipse.m2m.atl.engine.vm.nativelib.ASMOclAny.invoke(ASM OclAny.java:101)
at
org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOpera tion.java:240)
at org.eclipse.m2m.atl.engine.vm.ASMOperation.exec(ASMOperation .java:171)
at
org.eclipse.m2m.atl.engine.vm.ASMInterpreter.<init>(ASMInterpreter.java:299)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:169)
at org.eclipse.m2m.atl.engine.AtlLauncher.launch(AtlLauncher.ja va:111)
at org.eclipse.m2m.atl.engine.AtlLauncher.debug(AtlLauncher.jav a:105)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:359)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.runAtlLaunche r(AtlRegularVM.java:463)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM.access$0(AtlR egularVM.java:445)
at
org.eclipse.m2m.atl.adt.launching.AtlRegularVM$1.run(AtlRegu larVM.java:423)
严重: A.main() : ??#24 null
严重: local variables = {self=uml2bpel : ASMModule}
严重: local stack = []
严重: A.__exec__() : ??#8 null
严重: local variables = {e=TransientLink {rule = 'process',
sourceElements = {u = IN!onlinesale}, targetElements = {imp =
OUT!<unnamed>, p = OUT!onlinesale}, variables = {}}, self=uml2bpel :
ASMModule}
严重: local stack = []
严重: A.__applyprocess(1 : NTransientLink;) : ??#55 26:6-26:41
严重: local variables = {p=OUT!onlinesale, u=IN!onlinesale,
link=TransientLink {rule = 'process', sourceElements = {u =
IN!onlinesale}, targetElements = {imp = OUT!<unnamed>, p =
OUT!onlinesale}, variables = {}}, self=uml2bpel : ASMModule,
imp=OUT!<unnamed>}
严重: local stack = [OUT!<unnamed>]
严重:
************************************************************ *************


Who can help me ??

Thanks very much!

Best whishes
Re: [ATL] uml2bpel problem [message #82017 is a reply to message #81988] Thu, 22 May 2008 08:48 Go to previous messageGo to next message
Eclipse UserFriend
Hie

Verify in your BPEL metamodel if the element Import has the field
location. In the metamodel this field can have a diferent name, maybe
locationName, loc, so on.

i hope this information help you.
Re: [ATL] uml2bpel problem [message #83102 is a reply to message #82017] Sat, 31 May 2008 02:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hr_mi.live.cn

Netuh 写道:
>
> Hie
>
> Verify in your BPEL metamodel if the element Import has the field
> location. In the metamodel this field can have a diferent name, maybe
> locationName, loc, so on.
>
> i hope this information help you.
>

Hi Netuh,

Thanks for your help,I have solved it .
Re: [ATL] uml2bpel problem [message #84821 is a reply to message #83102] Thu, 19 June 2008 13:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jihed.touzi.enstimac.fr

Hello to All of you;
I encounter the same problem..
Can i know how you have solved it ?
Thanks.


unique a écrit :
> Netuh 写道:
>>
>> Hie
>>
>> Verify in your BPEL metamodel if the element Import has the field
>> location. In the metamodel this field can have a diferent name, maybe
>> locationName, loc, so on.
>>
>> i hope this information help you.
>>
>
> Hi Netuh,
>
> Thanks for your help,I have solved it .
[ATL] internal error in Model2BPEL transformation [message #84839 is a reply to message #84821] Fri, 20 June 2008 13:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jihed.touzi.enstimac.fr

Hi to all,
I encounter an internal error like this :

An internal error occurred during: "Launching SOA2BPEL".
eObject cannot be null in getNamespaceMap()

I don't understand..

But the Big question is that the BPEL metamodel is an imbricated
metamodel, it contains WSDL and XSD metamodel..
i think that to call for example a WSDL element in the BPEL metamodel
we have to do that :

BPEL!"wsdl::nameOfTheElement"

i do that but i obtain the internal error mentionned before..

Some one can help me ??

thank you...
[ATL] internal error in Model2BPEL transformation [message #85688 is a reply to message #84839] Wed, 02 July 2008 04:42 Go to previous message
Eclipse UserFriend
Originally posted by: jihed.touzi.enstimac.fr

> Hi to all,
> I encounter an internal error like this :
>
> An internal error occurred during: "Launching SOA2BPEL".
> eObject cannot be null in getNamespaceMap()
>
> I don't understand..
>
> But the Big question is that the BPEL metamodel is an imbricated
> metamodel, it contains WSDL and XSD metamodel..
> i think that to call for example a WSDL element in the BPEL metamodel
> we have to do that :
>
> BPEL!"wsdl::nameOfTheElement"
>
> i do that but i obtain the internal error mentionned before..
>
> Some one can help me ??
>
> thank you...
Previous Topic:EMF Changeable problem
Next Topic:UML2OWL - UML 2.0 sample file
Goto Forum:
  


Current Time: Tue Jul 08 19:25:00 EDT 2025

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

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

Back to the top