aspose file tools*
The moose likes Web Services and the fly likes Exception while invoking the webservice from the client program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Exception while invoking the webservice from the client program "Illegal ASCII character, 0xc3"" Watch "Exception while invoking the webservice from the client program "Illegal ASCII character, 0xc3"" New topic
Author

Exception while invoking the webservice from the client program "Illegal ASCII character, 0xc3"

Santhosh ayiappan
Ranch Hand

Joined: Jan 30, 2007
Posts: 80

We are invoking a webservice by generating a client jar using the client gen task of weblogic 10.3.0. While invoking the webservice getting an exception as below.

java.io.CharConversionException: Illegal ASCII character, 0xc3
at weblogic.xml.babel.reader.XmlReader$AsciiReader.read(XmlReader.java:835)
at weblogic.xml.babel.scanner.ScannerState.read(ScannerState.java:400)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:34)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
at weblogic.xml.babel.baseparser.EndElement.parse(EndElement.java:34)
at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:457)
at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
at weblogic.xml.domimpl.Loader.load(Loader.java:112)
at weblogic.xml.domimpl.Loader.load(Loader.java:96)
at weblogic.xml.saaj.SOAPPartImpl.createDocumentFromInputStream(SOAPPartImpl.java:134)
at weblogic.xml.saaj.SOAPMessageImpl.createSOAPPart(SOAPMessageImpl.java:435)
at weblogic.xml.saaj.SOAPMessageImpl.constructMessage(SOAPMessageImpl.java:212)
at weblogic.xml.saaj.SOAPMessageImpl.<init>(SOAPMessageImpl.java:149)
at weblogic.xml.saaj.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:124)
at weblogic.wsee.connection.soap.SoapClientConnection.createSOAPMessage(SoapClientConnection.java:134)


I googled and made the below changes, but with no luck.

((Stub)automotiveConfigCompareService4APortType)._setProperty(weblogic.wsee.jaxrpc.WLStub.CHARACTER_SET_ENCODING,"UTF-8");

and

-Dweblogic.webservice.i18n.charset=UTF-8

The same service was working perfectly fine in weblogic 8.6, We are facing this issue while migrating the application from weblogic 8.1 to 10.3.0

Any help to really appreciated.

Regards
Santhosh
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
0xc3 is "latin capital letter A with tilde"

What is the source of your input text? Did previous versions versions of weblogic handle input with this character correctly?

Bill
Santhosh ayiappan
Ranch Hand

Joined: Jan 30, 2007
Posts: 80

Yes, it worked pefectly with the previous version .

Regards
Santhosh
Santhosh ayiappan
Ranch Hand

Joined: Jan 30, 2007
Posts: 80

This is an issue with the weblogic 10.3.0. After we install the patch from Oracle, the issue got resolved.

Regards
Santhosh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception while invoking the webservice from the client program "Illegal ASCII character, 0xc3"