[jboss-user] [JBossWS] - Problem with charset UTF-8 in version 1.2.1GA

claudio_br do-not-reply at jboss.com
Tue Jun 12 15:03:24 EDT 2007


Hi,

I am using wsconsume to generate webservice client class in windows machine.
When I access the webservice and send a String with character 'ã' or 'ç' for example, I got a soap exception.
In post http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030510#4030510 was relate same problem.
A possible solution is use in jvm parameter -Dfile.encoding=UTF-8. But this affects everything in jvm. I tried to use System.setProperty("file.encoding","UTF-8") before the call webservice, but don´t work, I think a problem with classloader. Am I correct?
There is a way of setting the enconding only in soap message without setting system property? Is it a bug with jbossws?
Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053701#4053701

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053701




More information about the jboss-user mailing list