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 Sat, 27 Oct 2007 20:07:50 GMT

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

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

Hopefully someone else who has seen an error like this can help you next week.  Otherwise,
more detective work may be needed to zero in on the problem.

Possible avenues to explore:
1.)  Does *any* remote CXF web service work on JBoss--i.e., can you simplify your web service
to just a "sayHello" method--will it work or not?
2.)  Can your web service work on another app server--Geronimo, GlassFish, Tomcat (remotely--on
a different machine).  If so, the problem might be with JBoss.
3.)  Can you get your web service to work using the GlassFish Metro stack on JBoss?

This takes effort, but I've learned when working with web services that you need to be able
to work with two web service stacks and multiple types of application servers in order to
quickly troubleshoot problems.  Else there are too many unknown variables about where the
problem could be.

Glen


> 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