title: wsimport not working
body: <p>When I try to use <code>wsimport</code> using the below command from command prompt, it's working fine:</p>
  
  <pre><code>wsimport -d generated C:\Users\generated\wsdlfile.xml
  </code></pre>
  
  <p>However, when I try to use <code>wsimport</code> as below, it's throwing the following error:</p>
  
  <pre><code>wsimport -d generated https://example.com/exampleService.svc?wsdl
  
  Failed to read the WSDL document: https://example.com/exampleService.svc?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not &lt;wsdl:definitions&gt;.
  
  [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s): At least one WSDL with at least one service definition needs to be provided.
  
          Failed to parse the WSDL.
  </code></pre>
  
  <p>I can access the URL from a browser, and the same thing is working from other systems (from my PC). What could be the reason?</p>