Axis C++ client does not encode into UTF-8 in Windows
-----------------------------------------------------
Key: AXISCPP-1027
URL: https://issues.apache.org/jira/browse/AXISCPP-1027
Project: Axis-C++
Issue Type: New Feature
Components: Client - Engine
Affects Versions: 1.6 Beta
Environment: Windows XP
Reporter: Javier Cámara
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]