Hi list, I am using the Java Axis library as a client to communicate with a proprietary webservice. It is a very useful piece of software, but I am running into the following problem:
I'm trying to use UTF-8 to send non-ASCII characters to the webservice, but Axis is escaping them using XML character entities, which unfortunately the simple, custom XML parser used by the webservice doesn't understand (it is not possible for me to change it or request it to be fixed). The result is that currently my application isn't able to send non-ASCII data to the webservice. I found out that this problem was already discussed in Axis' bugzilla (#19327) and fixed. Unfortunately, from what I could figure out looking in the project's repository, said fix was removed in revision 257917. I am assuming there is another mechanism to be able to send UTF-8 XML documents instead of ASCII documents with character entities, which is what I am getting now. I tried to find such mechanism in the list archives, bugzilla history, documentation and google in general, without success... What I am doing is very simple: using WSDL2Java to generate stubs and using them to communicate with the webservice. When I use TCPDump to monitor the communication, I see the character encodings (i.e.: á). Does anybody know how I can make Axis send "real" UTF-8? Thanks for your help. -- []´s Thiago Jung Bauermann
