Find solution

How to deal with timeout when accessing a web service?

Here are 20 best answers to ‘How to deal with timeout when accessing a web service?’ - the most relevant comments and solutions are submitted by users of Stack Overflow, Google Answers and Ask.Metafilter.Com.

Best solution

  • How to implement timeout and retry while accessing a web service before throwing an error?

    I am developing a WP8 application. I created a web service on out-systems and then I am calling those web service methods in my app: ServiceReference1.WebServiceClient ws = new WebServiceClient(); ws.FetchInboxAsync(EmailId); Now what I want is 10 seconds timeout while trying to access the web service and retry 3 times before throwing an error but I am not sure how to achieve this.


    WebServiceClient is no standard class which exists in WP8. You will have to provide details about the...

    Mark as irrelevant Undo

Other solutions