It really depends on your service configuration. I'm not sure exactly what the issue is but it's 99% likely a configuration issue.
Check out the docs on concurrency and sessions here: http://msdn.microsoft.com/en-us/library/ms731193.aspx On Wed, Mar 4, 2009 at 4:26 PM, Stephen Price <[email protected]> wrote: > Hmm... > I've just put a Debug.Writeln message after every one of my service calls > and it's not doing it now. (tried 10 times, it was doing it around 1 in 3 > times before). Is it possible I was calling too fast? > I have a number of controls, each with its own local Instance of the client. > Could one client be clashing with another client in a different usercontrol? > I assumed it would be ok to use a Servicereference like that? > client = new ServiceReference.ServicesClient(binding, new > EndpointAddress(App.ServiceUrl)); > client.GetDropDownItemsAsync(); > each control gets the dropdown items it's interested in. > I'm not closing the client either (should I be explicitly closing the > client? I read that it wasn't necessary...) > > cheers, > Stephen > On Wed, Mar 4, 2009 at 2:04 PM, Jonathan Parker > <[email protected]> wrote: >> >> The only thing I can think of is that subsequent calls are canceling >> the previous calls. >> Have you tried putting print statements before/after each service call >> in the client? >> >> On Wed, Mar 4, 2009 at 2:04 PM, Stephen Price <[email protected]> >> wrote: >> > Hey all, >> > I'm making a series of wcf service calls to populate a number of >> > comboboxes >> > and have noticed that quite often a number of them don't seem to be >> > getting >> > called. It seems fairly random. I'm making 9 calls and using fiddler I >> > can >> > see that all the services that are called are being returned. I've put >> > some >> > debug.writeln's into the Reference.cs file to make sure they are being >> > hit >> > and as far as I can tell its all working. >> > Any ideas how I can further figure out what's going on here? >> > For example, the code below from my Reference.cs; >> > base.InvokeAsync(this.onBeginGetExerciseEquipmentDelegate, new object[] >> > { >> > session}, >> > this.onEndGetExerciseEquipmentDelegate, >> > this.onGetExerciseEquipmentCompletedDelegate, userState); >> > Debug.WriteLine("Internal Call of Get Equipment hit"); >> > I'm seeing the debug message appear in the output but sometimes fiddler >> > doesn't see the response (or the request). Its as if the call is being >> > lost >> > before sending it. It seems fairly random which service call is missed, >> > and >> > it happens on my machine, and when I pull it down from the beta server. >> > cheers, >> > Stephen >> > ________________________________ >> > Support procedure: https://www.codify.com/lists/support >> > List address: [email protected] >> > Subscribe: [email protected] >> > Unsubscribe: [email protected] >> > List FAQ: http://www.codify.com/lists/ozsilverlight >> > Other lists you might want to join: http://www.codify.com/lists >> >> -------------------------------------------------------------------------------- >> Support procedure: https://www.codify.com/lists/support >> List address: [email protected] >> Subscribe: [email protected] >> Unsubscribe: [email protected] >> List FAQ: http://www.codify.com/lists/ozsilverlight >> Other lists you might want to join: http://www.codify.com/lists >> > > ________________________________ > Support procedure: https://www.codify.com/lists/support > List address: [email protected] > Subscribe: [email protected] > Unsubscribe: [email protected] > List FAQ: http://www.codify.com/lists/ozsilverlight > Other lists you might want to join: http://www.codify.com/lists -------------------------------------------------------------------------------- Support procedure: https://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozsilverlight Other lists you might want to join: http://www.codify.com/lists
