Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.6 Beta
-
None
-
Windows XP
Description
Am I wrong, or the Axis client does not do anything to encode characters in UTF-8 for Windows platforms?
My client is sending badly encoded messages like this one:
<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:consulta xmlns:ns1="imagine.webservices">
<arrayArray xmlns:enc="http://www.w3.org/2001/06/soap-encoding" enc:arrayType="xsd:string[1]">
<item>Castaña</item>
</arrayArray>
</ns1:consulta>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Which of course make the server fail. From what I have seen of HTTPTransport.cpp (also in the SVN http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp?revision=509427), UTF-8 encoding is implemented only for AS/400 platforms.
If this is so, this mean that the calling code must take care of UTF-8 encoding.