摘要:
soapUI Pro指标项说明:Test StepSets the startup delay for each thread (in milliseconds), setting to 0 will start all threads simultaneously.minThe shortest time the step has taken (in milliseconds).maxThe... 阅读全文
随笔分类 - wcf
动态调用WCF地址 (使用ChannelFactory类)
2012-06-05 15:45 by Eric.Hu, 3943 阅读, 收藏, 编辑
摘要:
最近在做的一个项目中需要动态调用WCF地址,因为有很多终端服务器,而每台终端服务器上都部署一个WCF服务,中央服务器需要不定时调用其中某个或者多个WCF服务执行相关操作,因此添加引用及配置文件配置的方法就不太现实,以下提供两种动态调用WCF地址的方法:1. 使用ChannelFactory类,该方法虽然复杂了点,但灵活度最高:code:1/*========================================================================2*【本类功能概述】ChannelFactory类创建多个终结点侦听器3*4*作者:EricHu时间:2012/ 阅读全文