Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Problems adding web reference (Unable to download following files from...)

$
0
0

I'm trying to add a web reference to access a web service that was developed by another group where I work. Both of our web apps reside on the same servers, just in different directories. On our first attempt: the web service was deployed on a test machine, and I was able to successfully add the web reference to my code in VS2005 (right-click in Solution Explorer, select Add Web Reference...), and everything worked fine on the test system. On the second attempt: when deploying to production, at first I thought just changing the web.config to point from the test server to the production server would be all I needed to do. But I got errors trying that, so I thought the better solution would be to delete the web reference to the service hosted on the test system, and re-add it, pointing instead to the service hosted on production, then re-compile and re-deploy. However, when I attempt to do this, I get a dialog box with the following error:

<Web Discovery Service>
Unable to download following files from .
http://<url>.WebService.asmx?wsdl
Do you want to skip these files and continue?
Yes No

Note that it just says, "from .", not from a URL. When accessing the asmx file via IE7, I can see all the exposed services, on both test and prod. They look identical.

The only thing that I can see that is different right now is that there are some differences between http and https. The reference I add in test is https, and things work. The prod reference is also https, but note that the error message is only http. Is there possibly some setting that is different between the test and prod servers? Or could it be in the web service itself? Neither our sys admin or the folks who developed the web service have much experience with this, and have no idea what the issue might be.

 Also, we are not running Microsoft ISA on the web servers.

Thanks!

 


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>