Hi there,
Hoping someone might have an idea of whats going on here, I presume I'm in the right forum but not 100%.
I have a java web service that I am using with a C# .NET client. Synchronously everything works fine, but Asynchronously I'm having problems.
Intermittently I am getting the following error message in the asynchronous event handler for the call:
"Unable to write data to the transport connection: An established connection was aborted by the software in your host machine"
The fact that it is intermittent is what is confusing me.
To be more precise I'm calling 3 asynchronous methods at once, 2 of which are the same web service operation but with different parameters, like so:
///////////////////////////// In Constructor
wsObject.getPointCompleted += new getPointCompletedEventHandler(wsObject_getPointCom pleted);
wsObject.getPeriodCompleted += new getPeriodCompletedEventHandler(wsObject_getPeriodC ompleted);
///////////////////////////// In a method call
try
{
wsObject.getPointAsync(pointRequestOne, Guid.NewGuid());
wsObject.getPointAsync(pointRequestTwo, Guid.NewGuid());
wsObject.getPeriodAsync(periodRequest, Guid.NewGuid());
}
catch (Exception e)
{
MessageBox.Show("Server Side Exception - Operation failed");
}
Would it have anything to do with the fact that they are all being called one after the other in such close proximity?
Any advice is much appreciated,
Thanks,
James