chewkk Posted November 19, 2003 Posted November 19, 2003 Hi, I'm having problem trying to consume a web service hosted on a remote machine. I keep getting the error "The proxy settings on this computer are not configured correctly for web discovery" when trying to add web reference from Visual Studio IDE. My test setup is quite simple. I've developed a simple web service called helloworld that return a string on a machine. The web service got registered by itself to the IIS after building it using visual studio IDE. Then I tried to add a web reference to this service using visual studio on another machine. Both machines are connected using crossed cable. No domain, just workgroup. Is there something that I've overlooked? Thanks, chew :) Quote
Administrators PlausiblyDamp Posted November 19, 2003 Administrators Posted November 19, 2003 Do you have a proxy server configured in Internet Explorer - if so turn it off and try again. Can you browse to the other computers IP address in IE? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
chewkk Posted November 19, 2003 Author Posted November 19, 2003 No. No proxy server. Anyway, I've got it fixed by adding the following lines to the web.config file. <webServices> <protocols> <add name="HttpPost"/> <add name="HttpGet"/> </protocols> </webServices> I'm not sure what I'm doing. Got this solution from another forum. Maybe you can enlighten me. I'm wondering why can't visual studio add those lines for me. Do you have article that I can understanding the web.config file better? Thanks, chew Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.