Hoover's API Forums

Ask a Question

RSS Feed

The request failed with HTTP status 404: Not Found.

    • MdFoiaz
    • Topic created 3 months ago

    I tried to remove the web reference and add it again... then i got the following error message.

    "The HTML document does not contain Web service discovery information.
    There was an error downloading 'http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl/$metadata'.
    The request failed with HTTP status 404: Not Found."

  1. bhawley3 months ago

    Hi MdFoiaz,

    Try removing $metadata from the url. http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl

    Let me know if you still have trouble.

    Brian

  2. foiaz3 months ago

    Hi bhawley,

    For your information... I have not placed $metadata in url. I just copied "http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl" form documentation..and pasted it in Url field of Add Web Reference dialog box.

    Is there any other way to solve this problem. ? I am thinking of fetching data using normal REST query.

  3. Steph3 months ago

    I am having the same problem with the dev url. I paste http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl and I get the same error:
    "The HTML document does not contain Web service discovery information.
    There was an error downloading 'http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl/$metadata'.
    The request failed with HTTP status 404: Not Found."
    This does NOT happen when I use the live URL http://hapi.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl but I am developing an application and would prefer not to be hitting the Live service

    Thanks,
    Stephanie

  4. ojas3 months ago

    foiaz and Steph, What development platform (eg .Net/Visual Studio 2008 or Eclipse/Java/Apex2 or PHP) are you using? Have you tried running the sample code (http://developer.hoovers.com/page/docs#1.3)? If so, do you encounter the same error?

    foiaz, by the way, the API only supports SOAP currently. Do you mean you'd like to try manually creating your own HttpRequest XML as opposed to importing the WSDL?

  5. foiaz3 months ago

    ojas, I am using .net mvc framework with Visual Studio 2008.. Everything worked fine until i rename the solution, (ex "SampleProj" to "SampleProj2"). after this renaming i am not able to retrieve data from Hoovers api service.. Whenever i tried to execute "GetCompanyDetails" method, I got the following error

    "Transportation Error"

    Then i tried to remove and add hoovers webreference.. thats where i got headache, i am not able to add it again.. I got following message..

    "The HTML document does not contain Web service discovery information.
    There was an error downloading 'http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl/$metadata'.
    The request failed with HTTP status 404: Not Found."

  6. foiaz3 months ago

    "Transport error: 204 Error: No Content"

    I solved the previously posted problem by copying the hoovers webreference folder from hoovers .net sample..

    Now i am getting this "Transport error: 204 Error: No Content"..

    Little help appreciated.

    Thanks & Regards,
    Foiaz

  7. Steph3 months ago

    I am also using .Net/Visual Studio 2008 and trying to add the URL: http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl as a web reference to the project. I get the error above. If I go ahead and use the live URL http://hapi.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl no problem at all. I would still like to get this fixed though to develope in dev rather than live.

    Thanks,
    Stephanie

  8. bhawley3 months ago

    Hi foiaz/Steph,

    The "204 Error: No Content" means the company you are trying to pull information on is not in the development database. Changes were made to the dev database as announced here: http://developer.hoovers.com/forum/read/52877

    Not all companies you find in production will be in the dev database.

  9. pavithra3 months ago

    Hi ,
    im also facing the same problem The HTML document does not contain Web service discovery information.
    There was an error downloading 'http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl/$metadata'.
    The request failed with HTTP status 404: Not Found.
    please help...

  10. ojas3 months ago

    foiaz, Steph, pavithra,

    We were able to reproduce the issue. It looks like the WSDL content-type is coming back incorrectly as text/html instead of text/xml, resulting in the error you are seeing. We are working to correct the issue. Until this is done, here are some workarounds:

    1) Generate your client using the production WSDL (http://hapi.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl). Then in your code or configuration file, change the endpoint to development: http://hapi-dev.hoovers.com/axis2/services/HooversAPI-20
    2) Open http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl in your web browser, view source, save that as a file (Hapi.wsdl) on your computer. Then instead of specifying the WSDL URL in the Add Web Reference dialog box, specify the path to this file.

    Thanks.

  11. pavithra3 months ago

    HI Ojas,

    Thanks ojas it solved my issue..
    I have another issue,for company search the out put xml file contains company name ,location,sales etc..
    for my project i am showing those data in a grid and on click of any company nama i need to redirect to the which contains the information regarding that company as you are doing in Hoovers.com site...
    but WSDL does not return the url to which it has to direct..
    Please help
    Pavithra

  12. ojas3 months ago

    Hi Pavithra,

    Your redirection page should take in company-id from the company search's company-result element and call GetHooversLinks with that id. This call will return a several Hoover's links (fact sheet, overview, news, etc.). You can choose which one you'd like to redirect to. Alternatively, if you'd like to create your own UI that displays company details instead of redirecting to the Hoover's page, you can call GetCompanyDetail with the company-id.

  13. pavithra3 months ago

    Hi Ojas,

    Thanks for the response,But all the urls (Hoover's links) redirect to same Existing Subscribers Log In page,but this is not true with Hoovers.com,there it displays some results irrespective of user( unsubscribers or subscriber)...

  14. ojas3 months ago

    Hi Pavithra,

    GetHooversLinks returns only the premium (subscribers) links. There is not a way to get the free sites links through the API. If you have a need to display information shown in the free site page, you could go with the alternate approach I mentioned above and display a page with information from GetCompanyDetails.

  15. pavithra3 months ago

    Thanks a lot

    Regards,
    Pavithra