1 Reply Latest reply on Aug 17, 2007 4:01 PM by claudio_br

    Problem with charset UTF-8 in version 1.2.1GA

      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