posted 15 years ago
This is probably because your browser is setup correctly with proxy settings so it can show wsdl but your client isn't so it doesn't work.
To fix this issue, most runtimes provide passing properties at the time of code generation, something like
-Dproxy.httpHost=yourPproxyHost -Dproxy.httpPort=yourProxyPort
Check the documentation of your runtime to see what properties to pass.
You may also be able to do this in code
System.getProperties().setProperty("http.proxyUser ", userid);
But again, your runtime should dictate the name of the property to use. Remember to set username and password properties as well if the proxy requires authentication