I am using Visual Basic 2005 Express Edition 8.0.50727.42 (RTM.050727-4200) and .NET Framework Version 2.0.50727.
I am trying to add a Web Reference in my Project, the reference is an Amazon Web Service titled Amazon E-Commerce Service. The WSDL page in XML is http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl.
When I try to add the above web service using Project -> Add Web Reference and type the above URL, I get the following error:
There was an error downloading 'http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl'.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: A system call that should never fail has failed.
A system call that should never fail has failed
I would really appreciate it if someone could help me troubleshoot the problem/error.
Thanks,
Kunal

Web Reference Error
Patrick D
Mike,
Did you try this from your office network with firewalls and proxy's stuff or without them
I have no problem accessing a local webservice created by me and hosted on any of my local network PCs or servers.
gidon
Hi,
I have the same problem accessing a different WSDL through VS2005's add webreference window. It shows all the methods, but it says there is no web service at that location. I have the following message : "There was an error downloading 'http:// ..../webservice wsdl'. There was redirect message in html format below it.
I'm trying this from my office network where I have to go though a proxy server. When I try the link from IE, I can see the XML document. I can't just add a public webservice to my VS2005 project.
Does it has anything to do with the proxy or fire wall configuration
In our office network, each time we try to access a public website, we will be prompted for User ID and Password for the internet access. This is not happening when I'm using the web service link through either VS2005 or IE.
Please anybody help me. I can't go further.
Brian Knox
Maybe it was just a glitch. I just tried it and could successfully add the reference. I'm running VS 2005 Pro, though.
Mike
mizd
Nathani,
No, I don't have a proxy. I'm behind a router. I do have a software firewall (Norton), but that allows VS to use all ports.
Mike