title: JAX-WS client authentication on proxy server
body: <p>I'm trying to use JAX-WS api to send some soap messages on a client application. However, I'm behind a firewall and the only option is to use a proxy server to go outside. </p>
  
  <p>I'm trying to find on google any answer about this and so far all fail: To Use <code>System.setProperty</code> for <code>http.proxyHost</code>, <code>http.proxyPort</code>, <code>http.proxyUser</code>, <code>http.proxyPassword</code>. To use Authenticator like is described <a href="http://blog.vinodsingh.com/2008/05/proxy-authentication-in-java.html" rel="nofollow noreferrer">here</a>. </p>
  
  <p>I'm running out of options, if someone could help me on this would be great. </p>
  
  <p>Also, I have a option to use <code>org.apache.commons.httpclient</code> but then I need to generate manually the XML. So could you suggest any other approach or API for WS?</p>