Web Service - The request failed with an empty response

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oneilt
    New Member
    • Jul 2008
    • 1

    Web Service - The request failed with an empty response

    This post is not a question, but rather a solution for anyone encountering this generic error when attempting to consume a web service.

    In some server configurations, requests to port 443 (https) are resolved to port 80 (http) by an ISA server. Web services on virtual directories that are set to listen for port 80 will generate .wsdl files with http addresses, even though the correct service address is https.

    When consuming such a service, this requires either: specify the webservice.URL value to the correct https address, or correcting the .disco, .wsdl and Reference.map file address values to be https rather than the http values they will pull down from the server.

    Reference: http://bytes.com/forum/thread447887.html
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Why not go all the way and write an article for it so it can be added to our articles/howTos area?

    Comment

    Working...