ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dylan McNamee <>
Subject accented characters in XMLRPC arguments
Date Wed, 10 Dec 2003 18:42:55 GMT
I'm having troubles sending a String that contains accented characters 
as an argument to an XMLRPC function.

Specifically, when I send a String containing an accented character 
(e.g. é) into the param list, I get the following exception: Invalid character data corresponding to XML entity 
	at org.apache.xmlrpc.XmlRpcClient$Worker.execute(
	at org.apache.xmlrpc.XmlRpcClient.execute(

It would seem I need to do some kind of XML encoding on this string 
(and some kind of XML decoding on the other end...) -- shouldn't that 
be the kind of thing the XMLRPC library does for me?

Absent that support, is there a String -> XML entities and XML 
entities->String coder/decoder handy, or do I need to write it myself?


View raw message