title: How can I configure the HTTP proxy for a Web Service client running in JBoss 4?
body: <p>Using NetBeans 6.8 I managed to write a JAX-WS Web Service client for a service which runs in the Internet.</p>
  
  <p>Within NetBeans, communication through the HTTP firewall works fine.</p>
  
  <p>Now I tried to run the client in a Servlet in JBoss 4.2.3.GA, here the request fails with the message:</p>
  
  <pre><code>HTTP transport error: java.net.UnknownHostException: wwwcie.ups.com
  </code></pre>
  
  <p>So I guess that the VM which runs the Servlet does not know the proxy. I will try to set the proxy system properties in the Servlet code, but maybe there is also a way to enter it in a standard JBoss configuration file for example using the <a href="http://community.jboss.org/wiki/PropertiesService" rel="nofollow noreferrer">PropertiesService</a>?</p>