Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic Webservice UTF-8 Illegal ASCII Character

 
chris augustine
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Morning.

I'm using Service Control to invoke a webservice (SOAP 1.1). Whenever the service response contains a non ASCII (French) character it fails with java.io.CharConversionException: Illegal ASCII character.

Is there any way to set encoding to UTF-8 for weblogic 10.3 or for the Service Response? (I'm trying this on windows machine with en locale.)

I've tried using -Dweblogic.webservice.i18n.charset=utf-8 and -Dfile.encoding=utf-8


I'm getting a SOAP response from a webservice call that has header encoding set as UTF-8, But due to some reason the weblogic client stub is trying to using ASCII based XmlParser (as against UTF-8 XmlParser ) which is causing it to fail when the response contains a french character .

Please do let me know on this ASAP as we have hit a hard stop due to this.

Thanks,
Chris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic