Faultstring Error Reading Xmlstreamreader. /faultstring
here for a quick overview of the site Help Center Detailed error reading xmlstreamreader cxf answers to any questions you might have Meta Discuss
Error Reading Xmlstreamreader Curl
the workings and policies of this site About Us Learn more about Stack Overflow the javax.xml.ws.soap.soapfaultexception: error reading xmlstreamreader company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss
Error Reading Xmlstreamreader: Unexpected Eof In Prolog
Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error reading XMLStreamReader in SOAPUI but works fine in browser up vote 0 down vote favorite We have a spring-cxf caused by: com.ctc.wstx.exc.wstxeofexception: unexpected eof in prolog ( 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
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
reading XMLStreamReader https://issues.apache.org/jira/browse/CXF-1133 Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prologAgile Board ExportXMLWordPrintableJSON Details Type: Bug Status: Closed http://osdir.com/ml/users-cxf-apache/2009-12/msg00153.html Priority: Major Resolution: Cannot Reproduce Affects Version/s: 2.0.2 Fix Version/s: Invalid Component/s: None error reading Labels: None Environment: Linux Apache Tomcat 5.5 Estimated Complexity: Unknown Description All works fine locally running Windows XP Apache and Tomcat 5.5 You can see the soap message error reading xmlstreamreader is null when getting to the server. FROM Test: INFO: Outbound Message -------------------------------------- 197856 -------------------------------------- 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.StandardWrapperVal
web service on the same machine (for test purposes this is actually running inside the same Tomcat, but hosted via Jetty). The web service is called twice (two different operations) the first returns about 1MB of data, the second posts about 1MB of (different) data. The first call is getting a set of documents to process, the second is returning the processed documents. On the second call CXF is returning HTTP 500: soap:ClientError reading XMLStreamReader. This is happening before any of my code is called. The input XML looks OK, there is no Content-length header on the request but the total size is 1313475 bytes - mostly made up by two elements that contain the base64 of two documents. Any ideas what is causing this or what I can do to narrow it down further? Thanks Jim ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. Thread at a glance: Previous Message by Date: RE: java.lang.VerifyError: Cannot inherit from final class Hi Dan I am getting this error on our dev environment however my local eclipse works fine : SEVERE org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient Could not compile java files for http://dev-andregws/regWS/services/soap/authenticatedSession.wsdl. [ERROR] IOException during exec() of compiler "javac". Check your path environment variable. Caused by: javax.xml.bind.JAXBException: "uk.co.and.register.schemas" doesnt contain ObjectFactory.class or jaxb.index I did confirm that the javac is on the path $which javac $/usr/bin/javac echo $PATH /usr/bin:/usr/sfw/bin:/usr/local/bin:/export/home/hyperlocal/bin$ So you can see that /usr/bin is on the path .. Another strange thing is this error occured on my local machine and to fix this I had to create a new Tomcat instance (deleting all temp, work dirs didnt work) and all worked, but I cant do that on the dev or prod environment. Any ideas what may be wrong. Best Regards Shahul Hameed > From: dkulp@xxxxxxxxxx > To: users@xxxxxxxxxxxxxx > Subject: Re: java.lang.VerifyError: Cannot inherit from final class > Date: Thu, 3 Dec 2009 10:52:09 -0500 > CC: shahul@xxxxxxxxxxxxx > > On Thu December 3 2009 4:09:31 am Shahul Hameed wrote: > > Hi Dan > > > > You were right .. I was getting an old version of DynamicClientFactory from > > one of the jars GroovyWS-all.jar > > > > I r