title: Error reading XMLStreamReader in SOAPUI but works fine in browser
body: <p>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, &amp; 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).<br>
   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</p>
  
  <pre><code>    --------------------------------------
          [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: &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;soap:Body&gt;&lt;soap:Fault&gt;&lt;faultcode&gt;soap:Client&lt;/faultcode&gt;&lt;faultstring&gt;Error reading XMLStreamReader.&lt;/faultstring&gt;&lt;/soap:Fault&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
      -------------------------------
  </code></pre>
  
  <p>Am i missing any configurations? any help would be appreciated</p>
  
  <p>thanks &amp; regards,
  Harilal.A.S.</p>