title: connecting to WSDL URL throws MalformedURLException: no protocol
body: <p>We have a web service that is running on a web server. A web app (currently running on localhost) tries to access it. I can call the location in my browser and it will show me the WSDL so the web service is working. Also if I run the web app against the same service running on my localhost, it will work.</p>
  
  <p>But if I try to connect to the remote web service it will give me a </p>
  
  <p><code>java.net.MalformedURLException: no protocol: &lt;URL here&gt;</code> </p>
  
  <p>which will be wrapped by the wsdl2java generated Service class into</p>
  
  <pre><code>Can not initialize the default wsdl from &lt;web service location here&gt;
  </code></pre>
  
  <p>Yes, the URL is really working. It is there and running...</p>
  
  <p>What could cause this? Do I need to set permissions or open a port on the remote web service server? (We're using CXF for the web service)</p>
  
  <p>Thanks!</p>