Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 94369 invoked from network); 20 Dec 2005 05:10:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Dec 2005 05:10:39 -0000 Received: (qmail 23583 invoked by uid 500); 20 Dec 2005 05:10:30 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 23552 invoked by uid 500); 20 Dec 2005 05:10:30 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 23541 invoked by uid 99); 20 Dec 2005 05:10:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2005 21:10:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.25.134.17] (HELO mailout02.sul.t-online.com) (194.25.134.17) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2005 21:10:28 -0800 Received: from fwd33.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1EoZlH-0003gQ-02; Tue, 20 Dec 2005 06:10:07 +0100 Received: from [127.0.0.1] (ZBhnlGZOQe3vm8hpJgd76ujISVO1XbWAWUa3Yl6A7cPEeGBvQ253oe@[66.253.171.81]) by fwd33.sul.t-online.de with esmtp id 1EoZlG-0jFv3A0; Tue, 20 Dec 2005 06:10:06 +0100 Message-ID: <43A79229.9060303@t-online.de> Date: Mon, 19 Dec 2005 23:10:01 -0600 From: Michael Rudolf User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Digest Authtentication with Axis 1.2 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-ID: ZBhnlGZOQe3vm8hpJgd76ujISVO1XbWAWUa3Yl6A7cPEeGBvQ253oe X-TOI-MSGID: be799193-2c2d-43dd-85e4-c4204531a63b X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi! I have a WS that uses HTTP authentication. I want to use digest auth. Right now i started with the Basic HTTP auth and wanted to switch to the CommonsHTTPSender so i can use digest. I configured it with the wsdd below. However, as soon as i switch to it, the no username and password are in the HTTP message (checked with ethereal). my client code looks like: RMWS service = new RMWSLocator(new org.apache.axis.configuration.FileProvider("test.wsdd")); //RMWS service = new RMWSLocator(); try { RMWSPortType c = service.getRMWS(); RMWSStub axisPort = (RMWSStub)c; axisPort.setUsername("abc"); axisPort.setPassword("xyz"); .... Any idea why the user and pass is not set. Also it automatically chooses Basic auth. Can i switch to Digest explicitly? Thanks! Michael