[ATL] WSDL: Access name attribute [message #865605] |
Mon, 30 April 2012 13:34 |
Tex Iano Messages: 99 Registered: February 2012 |
Member |
|
|
Hi,
I want to write a transformation from WSDL to UML. For each service-element, I want to create a UML class with that name:
-- @nsURI WSDL=eclipse.org/wsdl/2003/WSDL ( I am not allowed to post the entire link)
-- @nsURI UML=eclipse.org/uml2/3.0.0/UML
--
module test;
create OUT : UML from IN : WSDL;
rule Service {
from s : WSDL!Service
to class : UML!Class (
name <- s.name
)
}
I get an error because of the line "name <- s.name":
org.eclipse.m2m.atl.engine.emfvm.VMException: Feature name does not exist on Service
But a service element in a WSDL file has a "name" attribute. So, how can I access it? Any ideas?
Regards,
Tex
[Updated on: Mon, 30 April 2012 13:36] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03203 seconds