Title: RE: Character Encoding other than UTF-8 with SwA

Hallo Peter,

I have just done a very ugly quick fix by rebuilding
Axis with changed encoding constants in the below
mentionend classes and it worked correctly.

I am quite new to Axis therefore I don't know how a
more configurable solution would look like. I guess
the character encoding could be a configurable
property in the MessageContext.

If somebody could advise me on where to put such a
character encoding property I'd be ready to post a
patch.

I am also aware of the fact that ISO-8859-1 is included
in UTF-8 but I still think it would be a nice feature
to have the character encoding configurable.
(Maybe it is already I just did not find out yet how
to do it ;-)

Christof

-----Original Message-----
From: Peter Karwowski [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 30, 2003 8:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Character Encoding other than UTF-8 with SwA


Hi Christof, I've exactly the same problem because we've to send soap messages with iso-8859-1 encoding and default is utf-8. I was wondering too why this is not possible in a easy way. Did you get any ideas how to solve it? Until now I've no ideas.

Thanks and regards Peter

>We are using an Axis (Axis 1.1 final) client to send SOAP Messages with
>attachments.>I was trying to find out how it might be possible to change the
>character encoding of the SOAP part to something other than UTF-8.
>By looking at the source code I found that the character-encoding in this
>case is>hard-coded SerializationContextImpl.java and MimeUtils.java
>UTF-8 seems to be also hard coded in case of a SOAP Message without
>attachments (see Message.java).
>I was wondering that character encoding can not be configured in such a
>great and flexible toolkit as Axis is. Did I miss something important?
>I did not look yet into the server side implementation. Can Axis handle
>different character encoding as a server? 
>Christof Laenzlinger

Reply via email to