HTTP操作超时
来源:互联网 发布:网络红娘招聘 编辑:程序博客网 时间:2024/05/18 19:19
SilverLight调用 WEB SERVICE时 对 HTTP 请求已超过分配的超时。为此操作分配的时间可能是较长超时的一部分。
解决方案:在SilverLight的ServiceReferences.ClientConfig中对超时进行设置。
openTimeout ="00:10:00"
receiveTimeout ="00:10:00"
sendTimeout ="00:10:00"
closeTimeout ="00:10:00"
如下:
<configuration> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="ServiceSoap" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" openTimeout ="00:10:00" receiveTimeout ="00:10:00" sendTimeout ="00:10:00" closeTimeout ="00:10:00"> <security mode="None" /> </binding> <binding name="BasicHttpBinding_IService" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" openTimeout ="00:10:00" receiveTimeout ="00:10:00" sendTimeout ="00:10:00" closeTimeout ="00:10:00"> <security mode="None" /> </binding> </basicHttpBinding> </bindings> <client> <endpoint address="http://10.148.223.203:8888/service.asmx" binding="basicHttpBinding" bindingConfiguration="ServiceSoap" contract="PIServiceReference.ServiceSoap" name="ServiceSoap" /> <endpoint address="http://10.136.122.134:3316/Service.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService" contract="DNAServiceReference.IService" name="BasicHttpBinding_IService" /> </client> </system.serviceModel> </configuration>
0 0
- HTTP操作超时
- HTTP 设置超时
- HTTp 请求json 超时
- Android HTTP连接超时
- http 超时设置
- Http超时设置
- http超时设置
- 安卓中处理http超时
- HTTP网络超时
- HTTP 请求已超过分配的超时。为此操作分配的时间可能是较长超时的一部分
- 请求WCF时:HTTP 请求已超过分配的超时。为此操作分配的时间可能是较长超时的一部分
- tns操作超时
- Socket超时操作
- php页面操作超时
- C# 操作超时解决办法
- Android·HTTP超时机制
- java设置http超时时间
- Http 设置超时 + X509协议
- Oracle语句删除和建立外键约束
- 微信小程序怎么确定是息屏、返回、还是Home键操作?
- ForkJoin框架的一些原理知识点
- Qt/project1/QPushButton/QLineEdit/QPlainTextEdit
- shell安装mysql5.7
- HTTP操作超时
- spring mvc url 参数传递的中文乱码解决办法
- 【计算机视觉】PASCAL VOC数据集分析
- 【Linux】vSphere / ESX / ESXI / vCenter / vSphere Client
- 为AndroidStudio设置自定义类注释
- Echarts中legend图例太多与title重叠问题
- 离散题目8——位集描述子集
- 高性能网络编程(一)----accept建立连接
- 数位DP模板详解 (转