java.net.ConnectException: Connection refused
As I am still getting question related to this error, when using JDeveloper, I'll describe my troubleshooting tips here, so that it can be indexed by Google (and other search engines).
If you can access the web resource from IE or Mozilla, but can't get the WSDL to work with JDeveloper, you are most likely facing a common issue. Your HTTP proxy setup may be incorrect.
Here is the screenshoot of the configuration from JDeveloper 10.1.3.1. Last time I used JDeveloper, I was using the HTTP Analyzer feature and I forgot to turn it off before to exit the application. When I re-started JDeveloper the next day, the proxy was still setup for port 8099.
Here is a sample of the output you may get when you face this configuration error:
Buildfile: /Users/eric/devroot/build.xml analyze: Failed to read wsdl file at: "http://www.rajkovic.org/ws/wsdl/bads/annotatedBank.wsdl", caused by: java.net.ConnectException. : Connection refused
Remember to stop HTTP Analyzer before to exit JDeveloper or to check your proxy setting often, and you will be OK.
If you can access the web resource from IE or Mozilla, but can't get the WSDL to work with JDeveloper, you are most likely facing a common issue. Your HTTP proxy setup may be incorrect.
Here is the screenshoot of the configuration from JDeveloper 10.1.3.1. Last time I used JDeveloper, I was using the HTTP Analyzer feature and I forgot to turn it off before to exit the application. When I re-started JDeveloper the next day, the proxy was still setup for port 8099.
Here is a sample of the output you may get when you face this configuration error:
Buildfile: /Users/eric/devroot/build.xml analyze: Failed to read wsdl file at: "http://www.rajkovic.org/ws/wsdl/bads/annotatedBank.wsdl", caused by: java.net.ConnectException. : Connection refused
Remember to stop HTTP Analyzer before to exit JDeveloper or to check your proxy setting often, and you will be OK.
Comments
Saved me hours too