Web Service Error : "The underlying connection was closed: The connection was closed unexpectedly."
I am trying to call a web service made in Java from Windows Form 2.0. Sometimes it works fine and sometimes it gives an error "The underlying connection was closed: The connection was closed unexpectedly.".
When I tried searching the solution on the internet most of them suggested to override the function GetWebRequest(), and in that assign the KeepAlive property to "False" and use ProtocolVersion as 1.0.
I tried the above solution but that did'nt work out for me. Kindly suggest a workable solution for my problem.