No idea really, but if it’s not getting any content, that’s certainly a problem. Definitely try a wireshark or TCP dump or something to verify what is being sent on the wire.
On “questionable” thing I see is: > , conten-lengtth=[1594], That’s obviously spelled very wrong. I’m wondering if that would be causing it to not know how long the content is and thus is causing an issue. Not sure sure where that header would be coming from. Possibly something in the web server configured strangely? If you can wireshark the transfer to verify that the raw message on the wire has that spelled wrong, you’d at least know which side to look at more closely. Dan On Jan 14, 2014, at 9:42 AM, harilal.a.s <harilal....@gmail.com> wrote: > Hi, > We have a spring-cxf ( Spring 3.0.4, CXF 2.5.10, Java 6) web service > application deployed in WAS 8.0.0.7 @ Linux machine. We are able to access > all services through soap ui by directly using ip on url (through Linux IP > in which application installed). Now the app server is behind the Web server > (iplanet, & configured by client) and now the issue comes(we are using https > to hit the web server where as web server to app server is http). > We are able to see xml content in browser using the url provided by client > but when we access the web service through SOAPUI we are getting "Error > reading XMLStreamReader." and following exception in WAS log > > -------------------------------------- > [1/14/14 5:14:34:375 GMT] 00000040 AccDetailsInt I > org.apache.cxf.services.AccountDetailsWSService.AccountDetailsWSPort.AccDetailsInt > > Inbound Message > > ---------------------------- > ID: 13 > Address: https://{ip:port}/infox/services/AccountDetailsWSPort > Encoding: UTF-8 > Http-Method: POST > Content-Type: text/xml;charset=UTF-8 > Headers: {$WSCS=[SSL_RSA_WITH_RC4_128_MD5-128], $WSIS=[true], > $WSPR=[HTTP/1.1], $WSRA=[10.203.118.218], $WSRH=[10.203.118.218], > $WSSC=[https], > $WSSI=[Q1IrQ29oeGJCMFNHRWFPNzdBYjBRSU1RNEVZd3RWSHhlVWJyRGtnaDBEWT0=], > $WSSN=[ip], $WSSP=[2006], _WS_HAPRT_WLMVERSION=[-1], > accept-encoding=[gzip,deflate], conten-lengtth=[1594], > content-type=[text/xml;charset=UTF-8], Host=[{ip:port}], > SOAPAction=["urn:GetAccountProfile"], > Surrogate-Capability=[WS-ESI="ESI/1.0+"], > User-Agent=[Apache-HttpClient/4.1.1 (java 1.5)]} > -------------------------------------- > > [1/14/14 5:14:34:376 GMT] 00000040 SystemOut O Request XML : > [1/14/14 5:14:34:376 GMT] 00000040 PhaseIntercep W > org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging Interceptor for > {http://wsbroker.core.infx.com/}AccountDetailsWSService has thrown > exception, unwinding now > org.apache.cxf.binding.soap.SoapFault: > Error reading XMLStreamReader. > at > org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:139) > at > org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:102) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) > at > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:122) > at > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:233) > at > org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:214) > at > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:194) > at > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:129) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:223) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:143) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > at > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:199) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) > at > com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) > at > com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071) > at > com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) > at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909) > at > com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) > at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:277) > at > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) > at > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) > at > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) > at > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) > at > com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1700) > 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:2139) > at > com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2045) > at > com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134) > at > com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1157) > at > org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:125) > ... 30 more > > [1/14/14 5:14:34:412 GMT] 00000040 SystemOut O > ****************************In DB LOGGIN > INTERCEPTOR...DBLogOutIntercepter:Adding Logs > ************************************ > [1/14/14 5:14:34:417 GMT] 00000040 SystemOut O > ****************************In DB LOGGIN > INTERCEPTOR...DBLogOutIntercepter:Logt Added > ************************************ > [1/14/14 5:14:34:417 GMT] 00000040 AccDetailsInt I > org.apache.cxf.services.AccountDetailsWSService.AccountDetailsWSPort.AccDetailsInt > > Outbound Message > --------------------------- > ID: 13 > Response-Code: 500 > Encoding: UTF-8 > Content-Type: text/xml > Headers: {} > Payload: <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> > ------------------------------- > > Am i missing any configurations? any help would be appreciated > > thanks & regards, Harilal.A.S. > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Error-reading-XMLStreamReader-SOAPUI-but-works-fine-in-browser-tp5738545.html > Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com