我试图在 IronRuby 中使用远程服务,但出现此错误。
试图在暴露“Contracts.SomeManager”的对象上调用在“IronRuby.Runtime.IRubyObject”类型上声明的方法。
你能帮我解决这个问题吗?
这是我的代码。
require "netincludes"
some_manager = System::Activator.get_object ISomeManager.to_clr_type, "tcp://localhost:8080/SomeManager"
some_manager.get_message "hello"