This topic has not yet been written. The content below is from the topic description.
There are a few ways in which to enable http proxy using the HTTP client invoker. The first is simply to add the following properties to the metadata Map passed on the Client's invoke() method: http.proxyHost and http.proxyPort. An example would be: Map metadata = new HashMap(); ... // proxy info metadata.put("http.proxyHost", "ginger"); metadata.put("http.proxyPort", "80"); ... response = client.invoke(payload, metadata); The http.proxyPort property is not required and if not present, will use default of 80. Note: setting the proxy config in this way can ONLY be done if using JDK 1.5 or higher. The other way to enable use of an http proxy server from the HTTP client invoker is to set the following system properties (either via System.setProperty() method call or via JVM arguments): http.proxyHost, http.proxyPort, and proxySet. An example would be setting the following JVM arguments: -Dhttp.proxyHost=ginger -Dhttp.proxyPort=80 -DproxySet=true Note: when testing with Apache 2.0.48 (mod_proxy and mod_proxy_http), all of the properties above were required. Setting the system properties can be used for JDK 1.4 and higher. However, will not be able to specify proxy server per remoting client if use system properties..