title: Proxy settings in a java program
body: <p>I am trying to connect to a web service with a client generated from wsdl through a java program in eclipse. I am passing my request through a proxy server. But it seems that request is not getting through. Same proxy settings are working fine on SoapUI. Please find below the system properties set  by me. </p>
  
  <pre><code>Properties props= new Properties(System.getProperties()); 
  
  props.put("http.proxySet", "true"); 
  
  props.put("http.proxyHost", "10.x.x.x"); 
  
  props.put("http.proxyPort", "80");
  
  props.put("http.proxyUser","domainName\\xxx");
  
  props.put("http.proxyPassword","xxx");
  
  Properties newprops = new Properties(props);
  </code></pre>
  
  <p>Java program throws an exception as <code>java.net.UnknownHostException:</code></p>
  
  <p>What is it I am missing?</p>