Hi all, Apache axis 1.4 related UTF8Encoder class does not write the non-ASCII characters as they are in the xml response as the class does the following instead:
if (character > 0x7F){ writer.write("&#x"); writer.write(Integer.toHexString(character).toUpperCase()); writer.write(";");} Does any one know if this issue is already taken care of already in Axis2? if not, wondering if there is work around already. Thanks in advance for your valuable input. joe j robles wrote: > > Hi all, > > I have axis 1.4 based SOAP webservice client that is over a java > application that returns a XML string for a client request. > The java application returns the xml well in case of non-ascii characters > like Ô. But when it is part of the SOAP body, the special characters are > replaced by Replacement character - \ufffd. > The axis request and response have encoding set as UTF-8. The database > from which data is retireved has the encoding as UTF-8. I am not sure why > the soap message is not able to deal with the special characters well. > Same issues in the case of these characters - <, >, quotation sign, ' > > How to make the soap message understand these characters? > Is this a known issue with axis? > > I do not have this issue if xfire based soap client is used. But > unfortunately, I need to use axis based client. > > Any help is appreciated. > > Thanks in advance. > -- View this message in context: http://old.nabble.com/axis-1.4-non-ascii-chars-issue-tp32144892p32153417.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org