Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.6 Alpha
-
None
-
None
-
Client: Axis Java 1.2 on Windows XP
Server: Axis C++1.6 Alpha on Linux (Fedora, FC3)
Description
Seems like ascii extensions do not get converted correctly in Axis
Case in point, I am posting an array of strings and some of them have special european characters.
Take this example,
The text I want to send:
Lite svenska: blåbär på ö
Och lite spanska: ¿que pasó? mañana
Ç
The text that is sent over the wire (with some irrelevant data removed)
POST /axis/konga_deploy_interchange_data HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.2
Cache-Control: no-cache
Pragma: no-cache
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body>
<deployInterchangeData xmlns="urn:com.edgeways.integration.server.infoprovider.webservice.interchange.deploy.DeployInterchangeData">
<rows>
<item>
<fields xsi:type="ns2:ArrayOf_xsd_string" xmlns:ns2="urn:com.edgeways.integration.server.infoprovider.webservice.interchange.deploy.DeployInterchangeData">
<item>
Lite svenska: blåbär på ö
Och lite spanska: ¿que pasó? mañana
Ç
</item>
</fields>
</item>
</rows>
</deployInterchangeData>
</soapenv:Body>
</soapenv:Envelope>
The deserialized string at the server however is truncated at the first non us-ascii character so in this case I get
"Lite svenska: bl"
instead of what I want:
"Lite svenska: blåbär på ö
Och lite spanska: ¿que pasó? mañana
Ç"
Is there something else I need to do to get this to work? Is utf-8 encoding supported by the C++ server?
Seems to me it can't be since strings are represented by a char*. Or is there something else I need to do to get this to work?
/Thanks
Emanuel
Attachments
Issue Links
- depends upon
-
AXISCPP-964 SOAP request/response not UTF-8 encoded (but claims to be)
- Open
- is related to
-
AXISCPP-1001 getElementAsString returns empty string for strings containing non-USASCII characters
- Open