title: Not able to generate web service client using wsgen
body: <p>The original post is <a href="https://stackoverflow.com/questions/10537471/wsimport-giving-parsing-error/10537686#10537686">here</a>  </p>
  
  <p>I have a third party web service which is created by Jax WS 2.1.5 and exposed as a HTTPS service (WSDL :- <a href="https://somedomain.com/location/soap/locationfinderservice?wsdl" rel="nofollow noreferrer">https://somedomain.com/location/soap/locationfinderservice?wsdl</a>)
  I am trying to create a client using wsimport. I am using jdk1.6.0_04 for compatibility (I switched JDK version that I have explained in my previous post) Now I am getting new error </p>
  
  <pre><code> javax.xml.stream.XMLStreamException: Invalid WSDL expected {http://schemas.xmlsoap.org/wsdl/}definitions found   {https://schemas.xmlsoap.org/wsdl/}definitions at (lineLine number = 1
  </code></pre>
  
  <p>The problem is <a href="https://schemas.xmlsoap.org/wsdl/" rel="nofollow noreferrer">https://schemas.xmlsoap.org/wsdl/</a> does not exists. How to generate client stubs in this case?</p>