I am trying to exceute some web service method on a CCTV camera running the web service written using WSDL. I have written a small code snippet using Visual Studio 2008. but when I am executing the code I am getting the below mention exception.
"System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive."
COde Snippet :-
DeviceBinding service =
WebProxy proxy =