Java communication fails through web proxy using Apache HttpClient
I have a desktop client that sends data to a web server and I can't seem to get through the proxy server. Update : I am getting a 407 HTTP error when trying to communicate through the proxy. When downloading information from my web server, everything is fine. Once the user configures the proxy server (using a dialog box I wrote) the download works fine. But uploading data using org.apache.http.client.HttpClient is not working. I am configuring the proxy server with code like this after gathering the information from a JDialog. System.setProperty("http.proxyHost", proxyHost); System.setProperty