Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:57 Go to next message
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 81
Registered: June 2016
Member
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 14:49]

Report message to a moderator

Re: [Solved] Call to Service yields "Invalid" Result [message #1792833 is a reply to message #1792820] Tue, 24 July 2018 14:49 Go to previous message
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 81
Registered: June 2016
Member
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: Thu Mar 28 08:42:44 GMT 2024

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

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

Back to the top