How to consume remote access in IronRuby
I tried to use a remote service in IronRuby and I am getting this error.
An attempt was made to call a method declared of type "IronRuby.Runtime.IRubyObject" on an object that provides "Contracts.SomeManager".
Can you help me?
Here is my code.
require "netincludes"
some_manager = System::Activator.get_object ISomeManager.to_clr_type, "tcp://localhost:8080/SomeManager"
some_manager.get_message "hello"
0
a source to share
1 answer
I have something similar (actually a binding error) when trying to cook up a simple IronRuby remote access example, but I could mess up my example, I didn't play with much removal. Could you please post the complete code (along with netincludes) here (or somewhere)
Perhaps we can identify the bug (or the implementation in progress) and add it to the codeplex bug tracker for IronRuby .
I'll edit my answer here if it turns out to be not a bug, and I can help you resolve this issue.
0
a source to share