Thanks Guys,
Yes, that the reason why it wasn't aware that it had to route out via the
proxy, so I changed the code to this
Still not managing to authenticate though...
public static void main(String[] args) throws Exception {
// test interface
String testURI =
"https://wwwpp50.landg.com/OrigoTermV3/GatewayV3";
// live interface
String liveURI =
"https://www50.landg.com/OrigoTermV3/GatewayV3";
// response
String responseContent = "";
HttpClient httpClient = new HttpClient();
httpClient.getHostConfiguration().setHost("wwwpp50.landg.com/OrigoTermV3/GatewayV3",
443, "https");
// set the proxy host and port
httpClient.getHostConfiguration().setProxy("www-cache.eu.nag.net", 3128);
NTCredentials creds = new NTCredentials("username", "password",
"CBW107061", "www-cache.eu.nag.net");
AuthScope authscope = new AuthScope("10.255.109.132",443);
httpClient.getState().setProxyCredentials(authscope,creds);
PostMethod httpPost = new PostMethod(testURI);
httpPost.setRequestHeader("Content-Type", "text/xml");
httpPost.setRequestBody("someXML");
httpClient.executeMethod(httpPost);
responseContent = httpPost.getResponseBodyAsString();
System.out.println("Response received from SP was: " +
responseContent);
int responseCode = httpPost.getStatusCode();
String responseMsg = httpPost.getStatusText();
System.out.println("http status code: " + responseCode +
"\nhttp status message: " + responseMsg);
httpPost.releaseConnection();
}
It seems that the credentials object that I have set is not avaiable for
use when the ISA server challenges for authentication...
Authorization challenge processed
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - Proxy authentication
scope: NTLM <any realm>@www-cache.eu.nag.net:3128
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpState - enter
HttpState.getProxyCredentials(AuthScope)
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - Proxy credentials
required
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - Proxy credentials
provider not available
25 May 2005 09:18:17,431 7329 [main] INFO:
org.apache.commons.httpclient.HttpMethodDirector - No credentials
available for NTLM <any
realm>@www-cache.eu.nag.net:3128
Full trace...
25 May 2005 09:18:10,102 0 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - Java version: 1.4.1
25 May 2005 09:18:10,102 0 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - Java vendor: IBM Corporation
25 May 2005 09:18:10,102 0 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - Java class path:
D:\Workspaces\LCIHTTPAdapter\connectivity_test;C:\common-logging-1_0_4\commons-logging-1.0.4\commons-logging.jar;C:\jce_1_2_2\jce1.2.2\lib\US_export_policy.jar;C:\jce_1_2_2\jce1.2.2\lib\jce1_2_2.jar;C:\jce_1_2_2\jce1.2.2\lib\local_policy.jar;C:\jce_1_2_2\jce1.2.2\lib\sunjce_provider.jar;C:\log4j\1.2.8\log4j-1.2.8.jar;C:\http_client_3\commons-httpclient-3.0-rc2\commons-httpclient-3.0-rc2.jar;C:\common_codec_1_3\commons-codec-1.3\commons-codec-1.3.jar
25 May 2005 09:18:10,102 0 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - Operating system name: Windows
XP
25 May 2005 09:18:10,102 0 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - Operating system architecture:
x86
25 May 2005 09:18:10,102 0 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - Operating system version: 5.1
25 May 2005 09:18:10,633 531 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - IBMJCE 1.2: IBMJCE Provider
implements the following: HMAC-SHA1, MD2, MD5, MARS, SHA, MD2withRSA,
MD5withRSA, SHA1withRSA, RSA, SHA1withDSA, RC2, RC4, Seal)implements the
following:
Signature algorithms : SHA1withDSA, SHA1withRSA, MD5withRSA,
MD2withRSA
Cipher algorithms : Blowfish, AES, DES, TripleDES,
PBEWithMD2AndDES,
PBEWithMD2AndTripleDES,
PBEWithMD2AndRC2,
PBEWithMD5AndDES,
PBEWithMD5AndTripleDES,
PBEWithMD5AndRC2, PBEWithSHA1AndDES
PBEWithSHA1AndTripleDES,
PBEWithSHA1AndRC2
PBEWithSHAAnd40BitRC2,
PBEWithSHAAnd128BitRC2
PBEWithSHAAnd40BitRC4,
PBEWithSHAAnd128BitRC4
PBEWithSHAAnd2KeyTripleDES,
PBEWithSHAAnd3KeyTripleDES
Mars, RC2, RC4,
RSA, Seal
Message authentication code (MAC) : HmacSHA1, HmacMD2, HmacMD5
Key agreement algorithm : DiffieHellman
Key (pair) generator : Blowfish, DiffieHellman, DSA, AES,
DES, TripleDES, HmacMD5,
HmacSHA1, Mars, RC2, RC4, RSA, Seal
Message digest : MD2, MD5, SHA-1
Algorithm parameter generator : DiffieHellman, DSA
Algorithm parameter : Blowfish, DiffieHellman, AES, DES,
TripleDES, DSA, Mars,
PBEwithMD5AndDES, RC2
Key factory : DiffieHellman, DSA, RSA
Secret key factory : Blowfish, AES, DES, TripleDES, Mars,
RC2, RC4, Seal
PKCS5Key, PBKDF1 and
PBKDF2(PKCS5Derived Key).
Certificate : X.509
Secure random : IBMSecureRandom
Key store : JCEKS, PKCS12KS (PKCS12), JKS
25 May 2005 09:18:10,633 531 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - IBMJSSE 1.41: IBM JSSE provider
25 May 2005 09:18:10,633 531 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - IBMJGSSProvider 1.01:
IBMJGSSProvider supports Kerberos V5 Mechanism
25 May 2005 09:18:10,633 531 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - IBMCertPath 1.0: IBMCertPath
Provider implements the following:
CertificateFactory : X.509
CertPathValidator : PKIX
CertStore : Collection, LDAP
CertPathBuilder : PKIX
25 May 2005 09:18:10,633 531 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - IBMPKCS11 1.2: IBMPKCS11
Provider implements the following: MD2withRSA, MD5withRSA, SHA1withRSA,
RSA, SHA1withDSA)implements the following:
Signature algorithms : SHA1withDSA, SHA1withRSA, MD5withRSA,
MD2withRSA
Key (pair) generator : DSA, RSA
Algorithm parameter generator : DSA
Algorithm parameter : DSA
Certificate : X.509
Secure random : IBMSecureRandom
Key store : PKCS11 (PKCS11KS)
25 May 2005 09:18:10,649 547 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.useragent = Jakarta Commons-HttpClient/3.0-rc2
25 May 2005 09:18:10,649 547 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.protocol.version = HTTP/1.1
25 May 2005 09:18:10,649 547 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.connection-manager.class = class
org.apache.commons.httpclient.SimpleHttpConnectionManager
25 May 2005 09:18:10,649 547 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.protocol.cookie-policy = rfc2109
25 May 2005 09:18:10,649 547 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.protocol.element-charset = US-ASCII
25 May 2005 09:18:10,649 547 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.protocol.content-charset = ISO-8859-1
25 May 2005 09:18:10,649 547 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.method.retry-handler =
[EMAIL PROTECTED]
25 May 2005 09:18:10,665 563 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy
HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE,
dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy
HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE
dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z,
EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z]
25 May 2005 09:18:10,805 703 [main] DEBUG:
org.apache.commons.httpclient.params.DefaultHttpParams - Set parameter
http.connection.timeout = 10000
25 May 2005 09:18:14,977 4875 [main] DEBUG:
org.apache.commons.httpclient.HttpState - enter
HttpState.setProxyCredentials(AuthScope, Credentials)
25 May 2005 09:18:16,837 6735 [main] DEBUG:
org.apache.commons.httpclient.methods.EntityEnclosingMethod - enter
EntityEnclosingMethod.setRequestBody(String)
25 May 2005 09:18:16,837 6735 [main] DEBUG:
org.apache.commons.httpclient.methods.PostMethod - enter
PostMethod.clearRequestBody()
25 May 2005 09:18:16,837 6735 [main] DEBUG:
org.apache.commons.httpclient.methods.EntityEnclosingMethod - enter
EntityEnclosingMethod.clearRequestBody()
25 May 2005 09:18:17,306 7204 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - enter
HttpClient.executeMethod(HttpMethod)
25 May 2005 09:18:17,306 7204 [main] DEBUG:
org.apache.commons.httpclient.HttpClient - enter
HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
25 May 2005 09:18:17,321 7219 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - Attempt number 1 to
process request
25 May 2005 09:18:17,321 7219 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter HttpConnection.open()
25 May 2005 09:18:17,321 7219 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - Open connection to
www-cache.eu.nag.net:3128
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.ConnectMethod - enter ConnectMethod()
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.ConnectMethod - enter
ConnectMethod.execute(HttpState, HttpConnection)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.execute(HttpState, HttpConnection)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.writeRequest(HttpState, HttpConnection)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.printLine(String)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.writeLine(byte[])
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[])
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[], int, int)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.writeLine()
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[])
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[], int, int)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.ConnectMethod - enter
ConnectMethod.addRequestHeaders(HttpState, HttpConnection)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
25 May 2005 09:18:17,352 7250 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.print(String)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[])
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[], int, int)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.print(String)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[])
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[], int, int)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.print(String)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[])
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[], int, int)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.writeLine()
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[])
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.write(byte[], int, int)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.flushRequestOutputStream()
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.readResponse(HttpState, HttpConnection)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.readLine()
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.getResponseInputStream()
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HeaderParser.parseHeaders(InputStream, String)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,368 7266 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter
HttpParser.readLine(InputStream, String)
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpParser - enter HttpParser.readRawLine()
25 May 2005 09:18:17,384 7282 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
25 May 2005 09:18:17,399 7297 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
25 May 2005 09:18:17,399 7297 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.readResponseBody(HttpConnection)
25 May 2005 09:18:17,399 7297 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.getResponseInputStream()
25 May 2005 09:18:17,415 7313 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter
HttpMethodBase.canResponseHaveBody(int)
25 May 2005 09:18:17,415 7313 [main] DEBUG:
org.apache.commons.httpclient.ConnectMethod - CONNECT status code 407
25 May 2005 09:18:17,415 7313 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - enter
HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.auth.AuthChallengeProcessor - Supported
authentication schemes in the order of preference: [ntlm, digest, basic]
25 May 2005 09:18:17,431 7329 [main] INFO:
org.apache.commons.httpclient.auth.AuthChallengeProcessor - ntlm
authentication scheme selected
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.auth.AuthChallengeProcessor - Using
authentication scheme: ntlm
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.auth.AuthChallengeProcessor - Authorization
challenge processed
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - Proxy authentication
scope: NTLM <any realm>@www-cache.eu.nag.net:3128
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpState - enter
HttpState.getProxyCredentials(AuthScope)
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - Proxy credentials
required
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - Proxy credentials
provider not available
25 May 2005 09:18:17,431 7329 [main] INFO:
org.apache.commons.httpclient.HttpMethodDirector - No credentials
available for NTLM <any realm>@www-cache.eu.nag.net:3128
25 May 2005 09:18:17,431 7329 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodDirector - CONNECT failed, fake
the response for the original method
25 May 2005 09:22:07,689 237587 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - Buffering response body
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection
in response to directive: Keep-Alive
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.isResponseAvailable()
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - enter
HttpConnection.releaseConnection()
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HttpConnection - Releasing connection back
to connection manager.
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - enter getContentCharSet(
Header contentheader )
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HeaderElement - enter
HeaderElement.parseElements(String)
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HeaderElement - enter
HeaderElement.parseElements(char[])
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HeaderElement - enter
HeaderElement.getParameterByName(String)
25 May 2005 09:22:07,705 237603 [main] DEBUG:
org.apache.commons.httpclient.HttpMethodBase - Default charset used:
ISO-8859-1
Response received from SP was: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>
<STYLE>A:link {
FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
</STYLE>
<META content=NOINDEX name=ROBOTS>
<META http-equiv=Content-Type content="text-html; charset=Windows-1252">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<TABLE cellSpacing=5 cellPadding=3 width=410>
<TBODY>
<TR>
<TD vAlign=center align=left width=360>
<H1 style="FONT: 13pt/15pt verdana; COLOR:
#000000"><!--Problem-->The page
cannot be displayed</H1></TD></TR>
<TR>
<TD width=400 colSpan=2><FONT
style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a problem
with the
page you are trying to reach and it cannot be
displayed.</FONT></TD></TR>
<TR>
<TD width=400 colSpan=2><FONT
style="FONT: 8pt/11pt verdana; COLOR: #000000">
<HR color=#c0c0c0 noShade>
<P>Please try the following:</P>
<UL>
<LI>Click the Refresh button,
or try again later.<BR>
<LI>Open the Web site
home page, and then look for links to the information you want.
<LI>If you typed the page address in the Address bar, make sure
that it
is spelled correctly.<BR>
<LI>Verify that the Internet access policy on your network allows
you
to view this this page.</LI>
<LI>If you believe you should be able to view this directory or
page,
please contact the Web site administrator by using the e-mail
address or
phone number listed on the Web site
home page. </LI></UL>
<H2 style="FONT: 8pt/11pt verdana; COLOR: #000000">HTTP 407 Proxy
Authentication Required - The ISA Server requires authorization to fulfill
the request. Access to the Web Proxy service is denied.
(12209)<BR>Internet Security and Acceleration Server</H2>
<HR color=#c0c0c0 noShade>
<P>Technical Information (for support personnel)</P>
<UL>
<LI>Background:<BR>The gateway could not retrieve the requested
page.<P></P></LI>
<LI>ISA Server: ngsypx02.eu.nag.net<BR>
Via: <BR><BR>Time: 25/05/2005 08:18:17 GMT
</LI></UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML>
http status code: 407
http status message: Proxy Authentication Required ( The ISA Server
requires authorization to fulfill the request. Access to the Web Proxy
service is denied. )
Thanks in advance, Jon Andrews
===============================================================
National Australia Group Europe Limited (Company Number 02108635, Registered
Office 88 Wood Street, London EC2V 7QQ) (NAGE) is a subsidiary of National
Australia Bank Limited (an Australian registered company). The following UK
companies are authorised and regulated by the Financial Services Authority:
Clydesdale Bank PLC (trading as Clydesdale Bank and Yorkshire Bank), MLC
Savings Limited, MLC Trust Management Company Limited, Clydesdale Bank
Insurance Brokers Limited, Yorkshire Bank Financial Services Limited, National
Australia Insurance Services Limited and Custom Fleet Limited.
The views and opinions expressed in this email may not reflect the views and
opinions of any member of the group of which NAGE forms part. The information
contained in this message is confidential and may also be privileged. It is
intended only for the addressee named above. The unauthorised use, disclosure,
copying or alteration of this message is strictly prohibited. If you are not
the addressee (or responsible for delivery of the message to the addressee),
please notify the originator immediately by return message and destroy the
original message. This message and any attachments have been scanned for
viruses prior to leaving the NAGE network. However, NAGE does not guarantee the
security of this message and will not be responsible for any damages arising as
a result of any virus being passed on or arising from any alteration of this
message by a third party. NAGE may monitor emails sent to and from the NAGE
network.