• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Santhosh ayiappan
Ranch Hand
Posts: 80
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 80
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it worked pefectly with the previous version .

Regards
Santhosh
 
Santhosh ayiappan
Ranch Hand
Posts: 80
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is an issue with the weblogic 10.3.0. After we install the patch from Oracle, the issue got resolved.

Regards
Santhosh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic