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
|---------+-------------------------------->
| | [EMAIL PROTECTED]|
| | cnafmail.fr |
| | |
| | 16/09/2003 09:49 |
| | Veuillez r�pondre � |
| | axis-user |
| | |
| | |-------------------||
| | | [ ] Accus� de ||
| | | r�ception ||
| | |-------------------||
| | |-------------------||
| | | [ ] D�tailler le ||
| | | groupe ||
| | |-------------------||
|---------+-------------------------------->
>-------------------------------------------------------------------------------------------------------------------------------|
|
|
| Pour : [EMAIL PROTECTED]
|
| 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