Established connection aborted and underlying connection closed

  • Thread starter Apu Nahasapeemapetilon
  • Start date
A

Apu Nahasapeemapetilon

Why do I get the following two error messages, intermittently, when I issue a
"SendRequestResponse(methodName, requestEnvelope);" command on a class
derived from Microsoft.Web.Services2.Messaging.SoapClient.

Intermittent Error Messages:
1) An established connection was aborted by the software in your host
machine.
2) The underlying connection was closed: A connection that was expected to
be kept alive was closed by the server.

Currently, I'm handling these errors by trapping them in a catch block and
attempting the SendRequestResponse command again. The SendRequestResponse
never fails on the second attempt, if it fails, it fails on the first
attempt.

Also, I've got similar unmanaged code implemented in C++ using the Soap
ToolKit (v2sp2) that calls the same web methods on the web server and the
unmanaged code never gets either of the above errors.

The server side code is Java based using Apache SOAP v2.3.1 running on a
"Resin" web server.

Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top