You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by David Nesbitt <dn...@vuetechnology.com> on 2006/07/21 00:44:06 UTC

Axis 1.3 document-style client-side handling of Japanese characters

I have an Axis 1.3 HTTP web service that is returning Japanese
characters.  TcpMon shows these characters to be in the response.
However, call.invoke() returns a SOAPEnvelope where the Japanese
characters have been converted into question marks (?).

The HTTP response has the following XML declaration (from TcpMon):

<?xml version="1.0" encoding="UTF-8"?>

A snippet of the actual response (from TcpMon) looks like the following:

<Id>&#x65E5;&#x672C;&#x8A9E;</Id>
<Description>&#x82B1;&#x5B50;</Description>

But after calling call.invoke(), the snippet looks like:

<Id>???</Id>
<Description>??</Description>

Any ideas how I can preserve the Japanese characters that are being
returned using client-side Axis 1.3?

Regards,
Dave

P.S.  The HTTP response content-type header (from TcpMon) is:

Content-Type: text/xml;charset=utf-8