• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic Webservice UTF-8 Illegal ASCII Character

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You get good luck from rubbing the belly of a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic