cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1133) org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
Date Fri, 16 Nov 2007 15:52:43 GMT

    [ https://issues.apache.org/jira/browse/CXF-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543109
] 

Glen Mazza commented on CXF-1133:
---------------------------------

I think everyone's problem here is different.  D Dub, if you're using Linux, what is Wireshark
telling you about the response messages?  Check my 27/Oct/07 10:16 AM message above.  What
happens when you try to use Metro's libraries instead (See [1] on how to switch to Metro's
libraries)?   Also are you running a CXF server or CXF client or both?  Your original bug
report is too vague, we need more information.

[1] http://www.jroller.com/gmazza/date/20071019#step5

> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader Caused by: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF in prolog
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1133
>                 URL: https://issues.apache.org/jira/browse/CXF-1133
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>         Environment: Linux Apache Tomcat 5.5
>            Reporter: D Dub
>
> All works fine locally running Windows XP Apache and Tomcat 5.5
> You can see the soap message is null when getting to the server.
> FROM Test:
> INFO: Outbound Message 
> --------------------------------------
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><retrieveWorkplanXml
xmlns="http://workplan.service.pipelinemanagement.tps.monsanto.com/">197856</retrieveWorkplanXml></soap:Body></soap:Envelope>
> --------------------------------------
> Server Inbound Message:
> Encoding: UTF-8
> Headers: {connection=[keep-alive], host=[w3d.genoweb.monsanto.com], user-agent=[Java/1.5.0_11],
SOAPAction=[""], transfer-encoding=[chunked], pragma=[no-cache], content-type=[text/xml; charset=UTF-8],
accept=[*], Cache-Control=[no-cache]}
> Message:
> Stack trace:
> Oct 23, 2007 6:19:05 PM 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:187)
> 	at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:56)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
> 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
> 	at org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:79)
> 	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:235)
> 	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:140)
> 	at org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:278)
> 	at org.apache.cxf.transport.servlet.CXFServlet.doPost(CXFServlet.java:256)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
> 	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
> 	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
> 	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> 	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,0]
> 	at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:500)
> 	at com.ctc.wstx.sr.WstxStreamReader.nextFromProlog(WstxStreamReader.java:1950)
> 	at com.ctc.wstx.sr.WstxStreamReader.next(WstxStreamReader.java:971)
> 	at com.ctc.wstx.sr.WstxStreamReader.nextTag(WstxStreamReader.java:995)
> 	at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:85)
> 	... 26 more
> Server Outbound Message:
> INFO: Outbound Message 
> --------------------------------------
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Error
reading XMLStreamReader.</faultstring></soap:Fault></soap:Body></soap:Envelope>
> --------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message