axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul B. Anderson" <pau...@pnlassociates.com>
Subject Re: Invalid UTF-8 start byte 0xb8
Date Thu, 31 Jul 2008 00:24:47 GMT
I solved this problem.  It was due to an uninitialized variable.  I ran 
the program using the axis2_http_server and it executed, revealing 
something about my problem.

Paul B. Anderson wrote:
> I'm developing a C++ web service under Axis2c-1.5.0 to be called by a 
> Java application using Axis2-1.4.0.  I'm trying to get a simple round 
> trip working and I'm getting th above error.
> I have Axis2c running under apache 2.2 httpd on Ubuntu 8.
>
> tcpmon shows me the following
>
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><extract

> xmlns="http://zzzz.xyz"><arg0 xmlns="">--file_name--</arg0><arg1 
> xmlns="">--pattern--</arg1></extract></soapenv:Body></soapenv:Envelope>
>
> and offset 180 is just after the -- in "--file_name--".
> The full traceback on the client side is
>
> make test
> [INFO] Deploying module: metadataExchange-1.4 - 
> file:/pub/axis2-1.4/lib/mex-1.4.jar
> Exception in thread "main" org.apache.axiom.om.OMException: 
> com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte 0xb8 (at 
> char #180, byte #127)
>        at 
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249) 
>
>        at 
> org.apache.axiom.soap.impl.llom.SOAPBodyImpl.buildNext(SOAPBodyImpl.java:171) 
>
>        at 
> org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpl.java:650) 
>
>        at 
> org.apache.axiom.om.impl.llom.OMElementImpl.getFirstElement(OMElementImpl.java:956) 
>
>        at 
> org.apache.axiom.soap.impl.llom.SOAPBodyImpl.getFirstElementLocalName(SOAPBodyImpl.java:220)

>
>        at 
> org.apache.axiom.soap.impl.llom.SOAPBodyImpl.hasFault(SOAPBodyImpl.java:99) 
>
>        at 
> org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.hasFault(SOAPEnvelopeImpl.java:262)

>
>        at 
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)

>
>        at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)

>
>        at 
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)

>
>        at 
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>        at 
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548)
>        at 
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
>        at 
> org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)

>
>        at TestFaces.main(TestFaces.java:30)
> Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte 
> 0xb8 (at char #180, byte #127)
>        at 
> com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
>        at 
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
>        at 
> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:506) 
>
>        at 
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:161) 
>
>        ... 14 more
> Caused by: java.io.CharConversionException: Invalid UTF-8 start byte 
> 0xb8 (at char #180, byte #127)
>        at 
> com.ctc.wstx.io.UTF8Reader.reportInvalidInitial(UTF8Reader.java:302)
>        at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:188)
>        at com.ctc.wstx.io.MergedReader.read(MergedReader.java:101)
>        at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
>        at 
> com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57) 
>
>        at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:967)
>        at com.ctc.wstx.sr.StreamScanner.getNext(StreamScanner.java:738)
>        at 
> com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2721) 
>
>        at 
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
>        ... 16 more
> make: *** [test] Error 1
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message