cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hannes Stauss (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 19:47:50 GMT

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

Hannes Stauss commented on CXF-1133:
------------------------------------

Hi Glen, 
well, I am runnging my JBoss on localhost, afaik Wireshark cannot capture on localhost/loopback.

However, the data provided above is the request to the WS running on my JBoss and it seems
to have no payload. The reply I get for this request is:

<<REQUST>>
POST /racoon.crm/services/tmo.crm.order.change.changemsisdn HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Accept: *
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.5.0_12
Host: localhost:8888
Connection: keep-alive
Transfer-Encoding: chunked

0

0

<<END-REQUEST>>

<<REPLY>>
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5
Content-Type: text/xml;charset=UTF-8
Content-Length: 225
Date: Sat, 27 Oct 2007 19:44:56 GMT
Connection: close

<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>
<<END-REPLY>>

This is exactly the same reply as if I call the WS with Fireforx - which sends no payload
either.

Hannes

> 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