Hello,
I have a simple web service application based on Spring and CXF and it works
quite nicely.
The client can send a request and receive the response, the interceptors are
all fired fine, and authentication is doing good.
However, when running the integration tests against jetty, yesterday the
Maven build hanged after all the tests had passed fine and I had no idea
why.
And today, after I did some change, the Maven build gives the following
exception:
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:677)
at
com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2104)
at
com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2010)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1102)
at
com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1125)
at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:138)
Here is how I run the integration tests:
mvn clean install -Pintegration-test
I wonder why is this happening only in the integration tests and not on the
real application.
The application is available on GitHub at:
https://github.com/stephaneeybert/springws
Kind Regards,
Stephane
--
View this message in context:
http://cxf.547215.n5.nabble.com/com-ctc-wstx-exc-WstxEOFException-Unexpected-EOF-in-prolog-when-run-in-integration-test-on-jetty-tp5478597p5478597.html
Sent from the cxf-user mailing list archive at Nabble.com.