title: Jaxb login to service
body: <p>I have a web service and I want unmarshall and generate java classes. To reach my web services I need to login with basic authentication. So whenever I try to run </p>
  
  <pre><code>xjc -d src https:/www.example.com/ws/service?wsdl -wsdl -verbose
  </code></pre>
  
  <p>I get HTTP response code : 401 for url : https:/www.example.com/ws/service?wsdl</p>
  
  <p>I have proxy as well but I use</p>
  
  <pre><code> -httpproxy myusername:password@proxyserver:proxyport 
  </code></pre>
  
  <p>Is there any way to authenticate my account first?</p>