Hi,
 
I was trying to encode the special character '�' (code 233). The marshalling was OK as I specified "UTF-8" in the marshalDocument() method (the produced XML document had the correct character) . The unmarshalling was not OK as I used 'null' as decoding parameter. Specifying "UTF-8" in the unmarshalDocument() solved the problem.
 
The thing is that I'm using jibx-soap where the encoding charset is hard-coded "UTF-8" and tthe decoding charset is hard-coded "null". Creating a new jar with "UTF-8" as the decoding charset solved the problem. A nice feature for jibx-soap alpha 0.3 - or maybe beta because it's truely the only problem I had with JiBX so far - would be to be able to specify the charset in "unmarshallSOAP" and "marshallSOAP".
 
Thanks
Gilles

Reply via email to