I have been working on this problem for several days and cannot find a solution :(
I have an asynchronous call to the WCF service, which will work sometimes, but in other cases it wonβt do anything - without a call, without errors, nothing. It will just stop after executing my call method (main thread). Breakpoints have been added to both the service method and the auto-generated proxy class. If I debug a failed call, these breakpoints will never be deleted. In other cases (when this happens), all breakpoints will be deleted.
I completely uninstalled the service and added it again, but still no luck. I even added a new service method and request a message object in the hope that it was a problem with the original, but I am experiencing the same problem with a newly inserted method.
Just to note - this problem more often occurs when publishing my application on a virtual machine. This is not much on my local machine, but it still happens.
Here is an example of my code: -
This is an asynchronous service call;
ValidateUpdatesMessageRequest request = new ValidateUpdatesMessageRequest(); _serviceClient.ProcessUpdatesAsync(Request)
The service method is as follows:
public ValidateUpdatesMessageResponse ProcessUpdates(ValidateUpdatesMessageRequest request){
I also have an interface for the service that looks like this:
[OperationContract] ValidateUpdatesMessageResponse ProcessUpdates(ValidateUpdatesMessageRequest request);
I would welcome any feedback that might help me in the direction of the solution.
If you need more information, just let me know.
Thank you very much in advance!