本质上remoting 服务端和客户端走的是soap协议,对于简单的方法。只要客户端能支持soap就可以了。微软提供了一个soaptoolkit ,比如在vb6 中调用我的remoting 服务。
dim o as new soapclient30
o.mssoapinit "http://server:6363/simpleobject?wsdl"
msgbox o.helloworld("montaque")
2. 在vb.net 中调用remoting 服务。通过bindingtomoniker
dim o as object = system.runtime.interopservices.marshal.bindtomoniker("soap:wsdl=http://localhost:6363/simpleobject?wsdl")
msgbox(o.helloworld("asdf")) 上述代码好像无法翻译成c#
3。常规的方式,忽略。。。