Connecting Tech Pros Worldwide Forums | Help | Site Map

Web Service - The request failed with an empty response

Newbie
 
Join Date: Aug 2008
Posts: 1
#1: Aug 1 '08
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

Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Aug 1 '08

re: Web Service - The request failed with an empty response


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