cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiang, Ning" <Ning.Ji...@iona.com>
Subject RE: Problems with the Spring-Sample
Date Tue, 10 Apr 2007 13:45:46 GMT
Hi Thorsten

Can you check the implemetation class again?
There could be some special character in your implementation's return string.

Willem.

-----Original Message-----
From: Thorsten Kamann [mailto:thorsten.kamann@googlemail.com]
Sent: Tue 4/10/2007 19:36
To: cxf-user@incubator.apache.org
Subject: Re: Problems with the Spring-Sample
 
Hmm,

how can this happens? The messages are sent by the CXF, or not?

How can i fix this behaviour?

Thorsten


On 4/10/07, Willem Jiang <ning.jiang@iona.com> wrote:
>
> Hi Thorsten,
>
> It looks like your client message which contains the Invalid UTF-8 code.
>
> Caused by: java.io.CharConversionException: Invalid UTF-8 start byte 0xa1
> (at char #3, byte #-1)
>
>
> Willem.
>
> Thorsten Kamann wrote:
> > Thanks a lot :)
> >
> > I am understanding you right, that the current SNAPSHOT needs only one
> > http-transport JAR?
> >
> > But now I get another exception (see at the end of this mail).
> >
> > Thorsten
> >
> > ___________________________________________________________
> > INFO: Creating Service {http://spring.test.xfc/}HelloWorldService from
> > class
> > xfc.test.spring.HelloWorld
> > 10.04.2007 08:38:13 org.apache.cxf.phase.PhaseInterceptorChain
> > doIntercept
> > INFO: Interceptor has thrown exception, unwinding now
> > org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
> >    at
> >
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage
> >
> > (ReadHeadersInterceptor.java:117)
> >    at
> >
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage
> >
> > (ReadHeadersInterceptor.java:50)
> >    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> > PhaseInterceptorChain.java:159)
> >    at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:359)
> >    at
> >
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
> >
> > (HTTPConduit.java:655)
> >    at
> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose
> > (HTTPConduit.java:615)
> >    at org.apache.cxf.io.AbstractCachedOutputStream.close(
> > AbstractCachedOutputStream.java:114)
> >    at org.apache.cxf.transport.AbstractConduit.close(
> AbstractConduit.java
> > :65)
> >    at
> >
> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage
> >
> > (MessageSenderInterceptor.java:79)
> >    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> > PhaseInterceptorChain.java:159)
> >    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:229)
> >    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java
> :73)
> >    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java
> > :123)
> >    at $Proxy39.sayHi(Unknown Source)
> >    at xfc.test.spring.client.Client.main(Client.java:40)
> > Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte
> > 0xa1
> > (at char #3, byte #-1)
> >    at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
> >    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java
> :1086)
> >    at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java
> > :1095)
> >    at
> >
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage
> >
> > (ReadHeadersInterceptor.java:75)
> >    ... 14 more
> > Caused by: java.io.CharConversionException: Invalid UTF-8 start byte
> 0xa1
> > (at char #3, 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.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.nextFromProlog(
> > BasicStreamReader.java:1995)
> >    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java
> :1069)
> >    ... 16 more
> > Exception in thread "main" org.apache.cxf.binding.soap.SoapFault: Error
> > reading XMLStreamReader.
> >    at
> >
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage
> >
> > (ReadHeadersInterceptor.java:117)
> >    at
> >
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage
> >
> > (ReadHeadersInterceptor.java:50)
> >    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> > PhaseInterceptorChain.java:159)
> >    at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:359)
> >    at
> >
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
> >
> > (HTTPConduit.java:655)
> >    at
> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose
> > (HTTPConduit.java:615)
> >    at org.apache.cxf.io.AbstractCachedOutputStream.close(
> > AbstractCachedOutputStream.java:114)
> >    at org.apache.cxf.transport.AbstractConduit.close(
> AbstractConduit.java
> > :65)
> >    at
> >
> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage
> >
> > (MessageSenderInterceptor.java:79)
> >    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> > PhaseInterceptorChain.java:159)
> >    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:229)
> >    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java
> :73)
> >    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java
> > :123)
> >    at $Proxy39.sayHi(Unknown Source)
> >    at xfc.test.spring.client.Client.main(Client.java:40)
> > Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte
> > 0xa1
> > (at char #3, byte #-1)
> >    at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
> >    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java
> :1086)
> >    at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java
> > :1095)
> >    at
> >
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage
> >
> > (ReadHeadersInterceptor.java:75)
> >    ... 14 more
> > Caused by: java.io.CharConversionException: Invalid UTF-8 start byte
> 0xa1
> > (at char #3, 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.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.nextFromProlog(
> > BasicStreamReader.java:1995)
> >    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java
> :1069)
> >    ... 16 more
> >
>
>
>


-- 
Thorsten Kamann
Software-Architect, Consultant, Coaching
Germany, NRW

Business:
itemis products and solutions GmbH & Co. KG
Heinrichstraße 51
44536 Lünen

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRA 15841
P.h.G.:
Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB 18939
Geschäftsführer Jürgen Rödl

Personal:
thorsten.kamann@googlemail.com
http://www.thorsten-kamann.de/
callto://thorque


Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message