aspose file tools*
The moose likes BEA/Weblogic and the fly likes Weblogic Webservice UTF-8 Illegal ASCII Character Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic Webservice UTF-8 Illegal ASCII Character" Watch "Weblogic Webservice UTF-8 Illegal ASCII Character" New topic
Author

Weblogic Webservice UTF-8 Illegal ASCII Character

chris augustine
Greenhorn

Joined: Dec 08, 2008
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic Webservice UTF-8 Illegal ASCII Character
 
Similar Threads
Character set
Calling .net web service from weblogic 8.1 and pass french(accented) chars
Exception while invoking the webservice from the client program "Illegal ASCII character, 0xc3"
SOAP XML encoding
How to export Non-English Data from jsp file to excel file