I want to consume a WCF service in a remote host. I created an empty project and tried to Add Service reference by giving the URL?wsdl. But I m stuck with the following error
There was an error downloading "http://example/example.svc?wsdl".
The operation has timed out
Metadata contains a reference that cannot be resolved: "http://example/example.svc?wsdl".
An error occurred while receiving the HTTP response to http://example/example.svc?wsdl. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
Please provide suggestions to overcome this error.