<configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown mode="SingleCall" type="yjy.server,yjy" objectUri="yjy.soap"/>
</service>
</application>
</system.runtime.remoting></configuration>
<configuration>
<system.runtime.remoting>
<application>
<client url=" http://localhost/yjy">
<wellknown type="yjy.server, yjy" url=" http://localhost/yjy/yjy.soap"/>
</client>
<channels>
<channel ref="http" />
</channels>
</application>
</system.runtime.remoting>
</configuration>
<system.runtime.remoting>
<application>
<service>
<wellknown mode="SingleCall" type="yjy.server,yjy" objectUri="yjy.soap"/>
</service>
</application>
</system.runtime.remoting></configuration>
<configuration>
<system.runtime.remoting>
<application>
<client url=" http://localhost/yjy">
<wellknown type="yjy.server, yjy" url=" http://localhost/yjy/yjy.soap"/>
</client>
<channels>
<channel ref="http" />
</channels>
</application>
</system.runtime.remoting>
</configuration>
博客展示了两段Remoting配置代码。一段配置了服务端,设置了单例调用模式的知名对象;另一段配置了客户端,指定了服务地址,还包含通道引用,涉及应用、服务、URL等信息技术相关内容。
53

被折叠的 条评论
为什么被折叠?



