Skip to main content



      Home
Home » Eclipse Projects » Sirius » [Solved] Call to Service yields "Invalid" Result
[Solved] Call to Service yields "Invalid" Result [message #1792820] Tue, 24 July 2018 08:57 Go to next message
Eclipse UserFriend
Hello,

while traying to use the following service:
public class Services {          
	public String mySampleService(EObject aClass) {
		return "foo";
	}
}


by doing

service:self.mySampleService()

I get "Invalid Feature As Name"
and with
[self.mySampleService()/]

I get "Invalid"

I double check and it is invoked on a EObject because
[self.toString()/]

yields "org.....AttributeFeatureTypeIml" which implements EObject

Any idea how to solve or debug this?

Many thanks in advance

[Updated on: Tue, 24 July 2018 10:49] by Moderator

Re: [Solved] Call to Service yields "Invalid" Result [message #1792833 is a reply to message #1792820] Tue, 24 July 2018 10:49 Go to previous message
Eclipse UserFriend
Hello,

problem solved. I did a refactoring and not all the references to the service have been updated.
Previous Topic:[SOLVED] Hello, I have hit the "...exceeding the 65535 bytes limit". Any help?
Next Topic:Cannot resize nodes
Goto Forum:
  


Current Time: Sun Jul 20 20:43:02 EDT 2025

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

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

Back to the top