I can confirm Brian's comments. I have 4 web services and about say 50 method in them and my app uses an online / offline model using them. I have had no timeout issues at all. Are you calling then synchronously or async? I only use asynchronous calls so I don't block the UI.
Do you have access to your Web Service source code or are they third party? If they are yours I would suggest putting some logging in to see if the problem is server side or client side. I think the default timeouts are ~60 second in asmx web services which should be enough time for most actions. David Black From: [email protected] [mailto:[email protected]] On Behalf Of Brian Newton Sent: 07 November 2011 08:28 To: simarx Cc: [email protected] Subject: Re: [MonoTouch] Web-services vs other? I can say that I've been using a web service backend for most of the processing in my app, have made probably close to 100-200 calls while developing it and I've never had it timeout. Are you thinking the unreliability is innate to web services or just the way Monotouch handles them? On Thu, Oct 27, 2011 at 7:23 PM, simarx <[email protected]<mailto:[email protected]>> wrote: Hi - I am developing an iPhone application where I am consuming Soap web-services using the standard mechanism provided by MonoDevelop whereby I am adding a web-reference to the web-service and then calling it's methods. On occasion, I do find calls to methods timeout in an inconsistent manner when I know it's not down to a poor net connection. Is there any advice as to whether I should consider using alternative code to consuming web-services? I've read elsewhere that it may be more reliable to Post data directly and process the results myself - using NSMutableUrlRequest for example. I don't really want to put this effort in unless it's going to make a difference. Any advice? -- View this message in context: http://monotouch.2284126.n4.nabble.com/Web-services-vs-other-tp3946648p3946648.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected]<mailto:[email protected]> http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
