axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emanuel Norrbin (JIRA)" <>
Subject [jira] Created: (AXISCPP-741) Extended ascii characters not deserialized?
Date Tue, 12 Jul 2005 19:59:11 GMT
Extended ascii characters not deserialized?

         Key: AXISCPP-741
     Project: Axis-C++
        Type: Bug
  Components: Server - Deserialization  
    Versions: 1.6 Alpha    
 Environment: Client: Axis Java 1.2 on Windows XP
Server: Axis C++1.6 Alpha on Linux (Fedora, FC3)
    Reporter: Emanuel Norrbin

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=""
xmlns:xsd="" xmlns:xsi=""><soapenv:Body>
<deployInterchangeData xmlns="urn:com.edgeways.integration.server.infoprovider.webservice.interchange.deploy.DeployInterchangeData">
<fields xsi:type="ns2:ArrayOf_xsd_string" xmlns:ns2="urn:com.edgeways.integration.server.infoprovider.webservice.interchange.deploy.DeployInterchangeData">
Lite svenska: bl&#xE5;b&#xE4;r p&#xE5; &#xF6;
Och lite spanska: &#xBF;que pas&#xF3;? ma&#xF1;ana

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?


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message