Web discovery problem

Last post 07-12-2009 5:40 PM by johnwsaunders3. 3 replies.

Sort Posts:

  • Web discovery problem

    07-11-2009, 1:23 PM
    • Member
      4 point Member
    • JonJacobs
    • Member since 07-01-2008, 12:56 AM
    • Posts 21

     Using Visual Web Developer 2008 Express I created a simple Hello World Web Service on my web site. My web site is on godaddy shared hosting. Windows with front page extensions and asp.net 2.0, 3.0, 3.5

    The Web Service is the sample generated by VWD.

    Using Visual Basic 2005 Express Edition I added a Web Reference for another web site's web service. No problem. Web discovery worked fine and the call to the web service works fine.

    I added a Web Reference for my web site and got this:

    The proxy settings on this computer are not configured correctly for web discovery. Press F1 for more information.

    Well proxy settings and firewall are not the problem, since it worked fine for the other web service.

    What do I need to do to my web service to enable web discovery, etc. and I can use my little practice web service?

  • Re: Web discovery problem

    07-11-2009, 8:13 PM

    There is no actual "discovery" going on here. The term is being used in a general sense.

    Try to use a web browser to accss the URL of your service, and let's see if there's an error message.

    John Saunders
  • Re: Web discovery problem

    07-12-2009, 5:07 PM
    • Member
      4 point Member
    • JonJacobs
    • Member since 07-01-2008, 12:56 AM
    • Posts 21

    I found part of the problem. I decided to look at the files on my site with my browser with ftp, and found my webservice.asmx file was in the stats folder. I have no idea why VWD decided to compile to that folder.

    So, in my browser http://mydomain/stats/webservice.asmx (real domain substituted for "mydomain")

    displays a screen listing my little HelloWorld service, although first I have to enter my username and password.

    So I put the same url into the add web reference dialog, and it seem to work, except that it asks for 4 things in a Discovery Credential dialog.

    1)Url: I put in the same

    2) User name: I put in the same user name I successfully used in the browser.

    3) Password: I put in the same passwordI successfully used in the browser.

    4) Domain: I put in my domain.

    It does not like that combination. It blanks the password and throws up the Discovery Credential dialog again. Ad infinitum. Why would it not like my password when the browser (Internet Explorer 6.0) liked it just fine?

    Do I need to enter the domain in a different way, perhaps? I'm stumped now.

    Thanks,

    Jon

  • Re: Web discovery problem

    07-12-2009, 5:40 PM

    I have no idea what this /stats folder is, and I've never seen a discovery credentials dialog box.

    John Saunders
Page 1 of 1 (4 items)