开发者

Timeout Question about Invoking a Remote WCF Service

When I invoke a remote WCF service I get the following timeout:

The request channel timed out while waiting for a reply after 00:00:59.2810338. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

Please note that I am sending a single object which is LOADED with a LOT of data.

Any ideas how to fix this issue and is this a problem on the client (ME) or the Serv开发者_如何学运维er.


Given the size, have you tried increasing your maxBufferSize/maxReceivedMessageSize in your binding?


Chunk your data into smaller pieces if possible and try again. This is a server setting that you will need to work around or request that the service provider increase it.


Without a stack trace I'm can't be 100% sure, but I'm relatively certain this is a client side exception. If you know it's going to take more than a minute to send the data all you need to do is change the sendTimeout on your binding to be whatever amount of time you need it to be.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜