locked
how to set operation time out from Client side(.NET CF application) for a WCF service hosted in IIS. RRS feed

  • Question

  • HI,

    I am calling a WCF service from a .NET CF application. Client proxies for the service are generated using NetCFSvcUtil.exe.

    Its creating two files, one is service proxy class and ClientBase class.

    Some times, while calling this service i am getting time out exception.

    The HTTP request to 'http://xxxx/xxxx/Service.svc/GZip' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. |    at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)

     

    i am using compression binding provided by Microsoft for compressing the data.

    I want to how to set or increase default operation time out.

     

    Thanks in Advance

    Jagadeesh

     

     

    Friday, September 24, 2010 8:25 AM

Answers

  • Please use WCF forum to post questions regarding WCF.

    With respect to time out, you can set it on binding configuration. Here is a related post.

    http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/360f7997-82f8-40d0-8fd5-8cbbf1c44534 

    Patrick

     

    Wednesday, October 13, 2010 9:26 PM