Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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 :)

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...