Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 65471 invoked from network); 16 Sep 2003 15:36:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Sep 2003 15:36:33 -0000 Received: (qmail 11496 invoked by uid 500); 16 Sep 2003 15:36:12 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 11463 invoked by uid 500); 16 Sep 2003 15:36:11 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 11434 invoked from network); 16 Sep 2003 15:36:11 -0000 Message-ID: <20030916153613.42481.qmail@web12809.mail.yahoo.com> Date: Tue, 16 Sep 2003 08:36:13 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Fwd: Re : problem with basic authentication with Websphere as client on ZOS To: axis-dev@ws.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N FYI - BUG. --- arnaud.peyre@cnedi06.cnafmail.fr wrote: > Subject: Re : problem with basic authentication with Websphere as client on ZOS > To: axis-user@ws.apache.org > From: arnaud.peyre@cnedi06.cnafmail.fr > Date: Tue, 16 Sep 2003 15:55:42 +0200 > > > Hi, > > I've found the solution. > I had to to modify the HTTPSender class at line 216 : > > otherHeaders.append(HTTPConstants.HEADER_AUTHORIZATION) > .append(": Basic ") > .append(Base64.encode(tmpBuf.toString().getBytes())) > .append("\r\n"); > > become > > otherHeaders.append(HTTPConstants.HEADER_AUTHORIZATION) > .append(": Basic ") > .append(Base64.encode(tmpBuf.toString > ().getBytes(HTTPConstants.HEADER_DEFAULT_CHAR_ENCODING))) > .append("\r\n"); > > It works fine with a ZOS or Windows client. > > Souldn't it be corrected in AXIS? > > Arnaud > > > > > |---------+--------------------------------> > | | arnaud.peyre@cnedi06.| > | | cnafmail.fr | > | | | > | | 16/09/2003 09:49 | > | | Veuillez r�pondre � | > | | axis-user | > | | | > | | |-------------------|| > | | | [ ] Accus� de || > | | | r�ception || > | | |-------------------|| > | | |-------------------|| > | | | [ ] D�tailler le || > | | | groupe || > | | |-------------------|| > |---------+--------------------------------> > > >-------------------------------------------------------------------------------------------------------------------------------| > | > | > | Pour : axis-user@ws.apache.org > | > | cc : > | > | Objet : problem with basic authentication with Websphere as client on ZOS > | > | > | > > >-------------------------------------------------------------------------------------------------------------------------------| > > > > > Hi all, > > I'm actually trying client AXIS 1.1 APIs on a Websphere 3.5 (we will soon > migrate in 5) ZOS for a RPC call. > The target web service is located on a Tomcat 4.1 on Windows. > > Client APIs work fine except that basic athentication does not work (the > same client works fine in the Windows world). > It seems that user and password are send in EBCDIC (the native ZOS > encoding) > to the Windows server. So the Windows server can't authenticate this user. > > Is there a way to configure something to force ASCII for the user and > password? > Any help would be greatly appreciated! > > Arnaud > > > > > > > > ===== Davanum Srinivas - http://webservices.apache.org/~dims/