Any ideas on what might be causing this or suggestions on how to try and isolate it?
if (password != null && userName != null) { debugLog( "invokeWebService: setting HTTP credentials & to do Authentication" ); org.apache.commons.httpclient.Credentials httpCredentials = new org.apache.commons.httpclient.UsernamePasswordCredentials( userName, password ); // httpClient httpClient.getState().setCredentials( org.apache.commons.httpclient.auth.AuthScope.ANY, httpCredentials ); poster.setDoAuthentication( true ); } if (proxyHost != null) { debugLog("Proxy settings were present in the config file - will set the proxy in the httpClient"); httpClient.getHostConfiguration().setProxy(proxyHost, proxyPort); } debugLog( "invokeWebService: Post HTTP" ); httpClient.executeMethod( poster ); int status = poster.getStatusCode();