locked
404 on http://api.search.live.net:80/soap.asmx RRS feed

Answers

  • That's what you get if you try to access the URL from a browser by design

    This URL is a SOAP endpoint - you need to hit it with a SOAP client and send a valid SOAP-formatted request in the HTTP body.

     

    HTH

     

    --Alessandro

     

    Tuesday, January 13, 2009 4:41 PM
  • Hi Alessandro,

     

    Actually I'm getting a 404 from the sample code as well. I was getting a 407 because our security implemented a proxy (WebWasher) and I'm supplying the credentials like so:

     

    service.Proxy = new System.Net.WebProxy(http://ourproxyserver, true, null, new System.Net.NetworkCredential("MyLoginName", "MyLoginPass", "OurDomain.com"));

    // Send the request; display the response.

    SearchResponse response = service.Search(request);

     

    *Edit

     

    Turns out I has the wrong IP for the proxy.

     

    Our connections tab in Internat Options is disabled but you can find you proxy settings

    in the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

     

    Thanks,

    Brent

     

     

    Tuesday, January 13, 2009 5:43 PM

All replies

  • That's what you get if you try to access the URL from a browser by design

    This URL is a SOAP endpoint - you need to hit it with a SOAP client and send a valid SOAP-formatted request in the HTTP body.

     

    HTH

     

    --Alessandro

     

    Tuesday, January 13, 2009 4:41 PM
  • Hi Alessandro,

     

    Actually I'm getting a 404 from the sample code as well. I was getting a 407 because our security implemented a proxy (WebWasher) and I'm supplying the credentials like so:

     

    service.Proxy = new System.Net.WebProxy(http://ourproxyserver, true, null, new System.Net.NetworkCredential("MyLoginName", "MyLoginPass", "OurDomain.com"));

    // Send the request; display the response.

    SearchResponse response = service.Search(request);

     

    *Edit

     

    Turns out I has the wrong IP for the proxy.

     

    Our connections tab in Internat Options is disabled but you can find you proxy settings

    in the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

     

    Thanks,

    Brent

     

     

    Tuesday, January 13, 2009 5:43 PM