axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Holden" <>
Subject Problem extracting UTF-8 encoded data
Date Wed, 05 Oct 2011 12:24:04 GMT

I've written a service in Axis2/C (version 1.6.0) that seems to work fine with normal ASCII
data, but doesn't cope with UTF-8 encoded data.

A mailing-list post from 2009 (
says that this should work if the request conforms to SOAP specs -- I think mine does; the
relevant TCPMON snippet is shown below.  The offending line, about half-way through is:

	<displayName>Archived File Name g</displayName>

The two "offending" characters are 0xC3 (195) and 0xB9 (185) which, I believe, are the UTF-8
encoding of U+00F9 ( - lowercase 'u' with grave), and viewing the payload as an XML file
in Internet Explorer seems to confirm this.

Without these two characters, everything works fine, but with them, the node is being returned
(by "axiom_node_get_next_sibling()") with empty contents ("<displayName></displayName>").

Do I need to do anything to "turn on" utf-8 encoding?  Is this a problem with Axis?

Thanks in advance for any help people can give.

Graham Holden.

------ ------ ------ TCPMON Begin ------ ------ -----
/* sending time = 9:57:14*/
/* message uuid = 92bf09dc-1f65-44d9-854c-ef341ba2d4b4*/
POST /axis2/services/archive HTTP/1.1
SOAPAction: "http://localhost:9099/axis2/services/archive"
Content-Type: text/xml;
Content-Length: 1456
User-Agent: httpPost
Host: localhost:9099
Cache-Control: no-cache

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi=""
<displayName>XML File Archive</displayName>
<displayName>Deposited By</displayName>
<displayName>Deposit Date</displayName>
<displayName>BLOB ID</displayName>
<displayName>Archived File Name g</displayName>
<displayName>Document Key</displayName>
<displayName>Unique Reference</displayName>
------ ------ ------ TCPMON Begin ------ ------ -----
Version One End-User Seminars


Version One Ltd. is the author of intelligent electronic document
delivery and imaging software. This software enables the electronic
storage, retrieval, management, enhancement and delivery of business
documents such as invoices, purchase orders and statements. Version One's
'paperless office' technology is seamlessly integrated into all major 
finance and ERP systems. With a typical ROI of less than six months, 
Version One's solutions are enabling thousands of organisations to 
save dramatic amounts of time and money. 

Version One is a Member of BASDA (Business Application Software 
Developers Association) and ESA (European Software Association).

The opinions expressed within this email represent those of the 
individual and not necessarily those of Version One Limited. 
The contents of this email may be privileged and are confidential. 
It may not be disclosed to or used by anyone other than the addressee(s), 
nor copied in any way.

Version One Limited, Pentland House, Village Way, Wilmslow, Cheshire, SK9 2GH, UK.
Registered office: Munro House, Portsmouth Road, Cobham, Surrey, KT11 1TF, UK
Registered in England Number: 2443078   VAT Registration Number: 927 5479 83

Version One is an Advanced Computer Software PLC company.



Think about the environment - Do you really need to print this email?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message