I've got another problem with errai, right know I wanted to test calling rpc in errai way, but unfortunately with no luck. Here is
the simple class which I'm using to test rpc communication :
As you can see this is very simple scenario, first to check if errai works at all I'm sending and receiving broadcast message and it works perfectly.
CDI integration on the server side works as expected.
Then I try to test rpc calls and unfortunately I get following RuntimeException with message :
No service definition for: java.lang.Class
This exception comes from line 52 of the AbstractRemoteCallBuilder class.
This message should be :
No service definition for: pl.scentia.smartoffice.test.UserAssignmentManager
But that's not the case, the real problem for me is that it can't obtain proxy object for my class. Everything looks like in the rpc example included in the errai-weld distribution.
UserAssignmentManager has @Remote annotation, the service is properly configured, on the server side everything seems to be all right.
Errai and errai-weld has been build today, so its pretty fresh. The main difference betwen my project and errai-weld example is that I don't have errai-jboss.sar I have errai packaged inside ear. But as I sad sending messages works as expected.
Do you have any suggestions what am I doing wrong ?