cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <ning.ji...@iona.com>
Subject Re: org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader
Date Fri, 27 Jul 2007 00:57:57 GMT
Can you have look at you client side code?

It looks like the client already exited before its request of 
PricingService just been got by the Server side.

Willem.
Brad Harper wrote:
> I've my services deployed using jax:ws/spring:
>
> <jaxws:endpoint
>      id="PricingService"
>      implementor="com.mycorp.service.thirdparty.PricingServiceImpl"
>      address="/PricingService" />
>
> The wsdl looks correct.  I've now generated client side code using
> cxf:wsdl2java and Im trying to run the client code 
> (PricingServiceClient) to
> test services.
>
> Full Stack:
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Could not create XMLStreamReader.
>        at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(
> StaxInInterceptor.java:69)
>        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> PhaseInterceptorChain.java:206)
>        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
> ChainInitiationObserver.java:67)
>        at org.apache.cxf.transport.servlet.ServletDestination.doMessage(
> ServletDestination.java:100)
>        at
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(
> ServletController.java:224)
>        at org.apache.cxf.transport.servlet.ServletController.invoke(
> ServletController.java:137)
>        at org.apache.cxf.transport.servlet.CXFServlet.invoke(
> CXFServlet.java:261)
>        at org.apache.cxf.transport.servlet.CXFServlet.doPost(
> CXFServlet.java:239)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:290)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:206)
>        at
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal 
>
> (OpenSessionInViewFilter.j
> ava:174)
>        at org.springframework.web.filter.OncePerRequestFilter.doFilter(
> OncePerRequestFilter.java:77)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:235)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:206)
>        at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:228)
>        at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:175)
>        at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>        at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>        at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:109)
>        at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:212)
>        at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:818)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:624)
>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> JIoEndpoint.java:445)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: com.ctc.wstx.exc.WstxIOException: Connection reset
>        at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(
> WstxInputFactory.java:548)
>        at 
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java
> :604)
>        at 
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java
> :629)
>        at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(
> WstxInputFactory.java:324)
>        at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(
> StaxInInterceptor.java:67)
>        ... 25 more
> Caused by: java.net.SocketException: Connection reset
>        at java.net.SocketInputStream.read(SocketInputStream.java:168)
>        at org.apache.coyote.http11.InternalInputBuffer.fill(
> InternalInputBuffer.java:748)
>        at
> org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead( 
>
> InternalInputBuffer.java:778)
>        at org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(
> ChunkedInputFilter.java:228)
>        at
> org.apache.coyote.http11.filters.ChunkedInputFilter.parseChunkHeader(
> ChunkedInputFilter.java:258)
>        at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(
> ChunkedInputFilter.java:132)
>        at org.apache.coyote.http11.InternalInputBuffer.doRead(
> InternalInputBuffer.java:713)
>        at org.apache.coyote.Request.doRead(Request.java:419)
>        at org.apache.catalina.connector.InputBuffer.realReadBytes(
> InputBuffer.java:293)
>        at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java
> :405)
>        at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java
> :308)
>        at org.apache.catalina.connector.CoyoteInputStream.read(
> CoyoteInputStream.java:162)
>        at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362)
>        at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)
>        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:543)
>        ... 29 more
>
> Any thoughts..?  I appreciate everyone's time.
>
> -bh
>

Mime
View raw message