Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F155116ED for ; Fri, 12 Sep 2014 12:56:12 +0000 (UTC) Received: (qmail 72874 invoked by uid 500); 12 Sep 2014 12:56:12 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 72828 invoked by uid 500); 12 Sep 2014 12:56:12 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 72803 invoked by uid 99); 12 Sep 2014 12:56:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2014 12:56:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ernst@transporeon.com designates 193.29.2.44 as permitted sender) Received: from [193.29.2.44] (HELO mail.transporeon-hq.com) (193.29.2.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2014 12:56:07 +0000 From: Christoph Ernst | TRANSPOREON To: "httpclient-users@hc.apache.org" Subject: NTLM authentication fails Thread-Topic: NTLM authentication fails Thread-Index: Ac/OiN1C1w0sR9SZS9yurtBLHM+N6w== Date: Fri, 12 Sep 2014 12:55:44 +0000 Message-ID: Accept-Language: en-GB, de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.43.254] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org hi, i'm trying to call a SOAP webservice hosted on an external webserver runnin= g IIS8 thru a Squid HTTP proxy. normally i use CXF for webservice clients, but the version i'm using does n= ot support NTLM auth. i'm using the latest httpclient version (4.3.5) my code: http://pastebin.com/YPuNWBer debug log: http://pastebin.com/meT0K1FX my credentials are formatted as: "DOMAIN/user:pass", like it is required by= the NTCredentials(String) ctor i have already *succesfully* tested the code with a local IIS 7.5 with and = without the same proxy. i was also able to succesfully authenticate using the following curl comman= d curl -v -x proxy:3128 --proxy-digest -U proxyuser "http://externalhost:8101= /service.svc" -u "DOMAIN\user" --ntlm can you tell me what could be the problem? thanks in advance br christoph --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org