axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: org.apache.axis2.AxisFault: Invalid UTF-8 start byte 0x9d
Date Mon, 13 Nov 2006 15:15:27 GMT

This e-mail communication and any attachments may contain confidential and privileged information
for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified
that you have received
this communication in error and that any review, disclosure, dissemination, distribution or
copying of it or its 
contents
  ----- Original Message ----- 
  From: sridhar vudutha 
  To: axis-user@ws.apache.org 
  Sent: Monday, November 13, 2006 9:36 AM
  Subject: Re: org.apache.axis2.AxisFault: Invalid UTF-8 start byte 0x9d


  Hello Brennan,

  Yes, the service is over HTTP.  I copied the SOAP request and sent it using the TCPMon,
I got a following exception thrown in the Response Window.

  javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Content is not
allowed in prolog.
   at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
   at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform (Unknown Source)
   at org.apache.ws.commons.tcpmon.Sender.prettyXML(Sender.java:206)
   at org.apache.ws.commons.tcpmon.Sender.send(Sender.java:190)
   at org.apache.ws.commons.tcpmon.Sender$1.actionPerformed(Sender.java :112)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) 
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent (Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl (Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent (Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
  Caused by: org.xml.sax.SAXParseException : Content is not allowed in prolog.
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
   at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(Unknown
Source) 
   ... 29 more
   
  If there any configuration settings that I can do to allow the special characters.

  Thanks,
  Sridhar.

   
  On 11/10/06, Spies, Brennan <Brennan.Spies@ejgallo.com > wrote: 
    Assuming that the service is over HTTP, can you look at it through TCPMon (or other sniffer)
and see if the charset is defined in the header? 





    -----Original Message-----
    From: sridhar vudutha [mailto: sridhar.jforum@gmail.com] 
    Sent: Friday, November 10, 2006 3:43 PM 
    To: axis-user@ws.apache.org
    Subject: org.apache.axis2.AxisFault: Invalid UTF-8 start byte 0x9d



    Hello All,

        When I call one of the web service methods (third party service written in .NET) ,
the following exception is thrown. I think there might be some characters which the XML Reader
doesn't like. 

    If anybody knows how to over come this problem, that would be  a great help.

    I'm using Axis2-1.1-SNAPSHOT, rampart-1.1-SNAPSHOT

    org.apache.axis2.AxisFault: Invalid UTF-8 start byte 0x9d (at char #11, byte #-1); nested
exception is: 

    com.ctc.wstx.exc.WstxIOException : Invalid UTF-8 start byte 0x9d (at char #11, byte #-1)


    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(

    TransportUtils.java:126 ) 

    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(

    TransportUtils.java:67 ) 

    at org.apache.axis2.description.OutInAxisOperationClient.send(

    OutInAxisOperation.java:381 ) 

    at org.apache.axis2.description.OutInAxisOperationClient.execute(

    OutInAxisOperation.java:295 ) 

    at com.choicepoint.labs.EChainTestOrderServiceStub.GetDonorPass(

    EChainTestOrderServiceStub.java:358 ) 

    at NewMedToxTest.main(

    NewMedToxTest.java:78 ) 

    Caused by: 

    com.ctc.wstx.exc.WstxIOException : Invalid UTF-8 start byte 0x9d (at char #11, byte #-1)


    at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(

    WstxInputFactory.java:536 ) 

    at com.ctc.wstx.stax.WstxInputFactory.createSR(

    WstxInputFactory.java:589 ) 

    at com.ctc.wstx.stax.WstxInputFactory.createSR(

    WstxInputFactory.java:614 ) 

    at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(

    WstxInputFactory.java:312 ) 

    at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(

    StAXUtils.java:56 ) 

    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(

    TransportUtils.java:117 ) 

    ... 5 more

    Caused by: 

    java.io.CharConversionException : Invalid UTF-8 start byte 0x9d (at char #11, byte #-1)


    at com.ctc.wstx.io.UTF8Reader.reportInvalidInitial(

    UTF8Reader.java:299 ) 

    at com.ctc.wstx.io.UTF8Reader.read(

    UTF8Reader.java:185 ) 

    at com.ctc.wstx.io.ReaderBootstrapper.initialLoad(

    ReaderBootstrapper.java:245 ) 

    at com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(

    ReaderBootstrapper.java:132 ) 

    at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(

    WstxInputFactory.java:531 ) 

    ... 10 more



    Thanks,

    Sridhar.



Mime
View raw message