Home > Error Reading > Error Reading Xmlstreamreader Unexpected Eof In Prolog

Error Reading Xmlstreamreader Unexpected Eof In Prolog

Contents

Also are you running a CXF server or CXF client or both? Copyright © 2014, Oracle Corporation and/or its affiliates. I am using CXF 2.1.2 with Jboss JBoss-4.3 The simple HellowWorld example working me fine. I have run this in SOAP UI and it works fine and XML Spy did not throw any errors with the request. http://dukesoftwaresolutions.com/error-reading/apache-error-reading-the-headers-referer.html

If you are not the intended recipient, any use, copying, printing, reviewing, retention, disclosure, distribution or forwarding of the message or any attached file is not authorized and is strictly prohibited. The data we are getting from the InputStream that JBoss is giving us is completely rubish. People Assignee: Unassigned Reporter: D Dub Votes: 5 Vote for this issue Watchers: 4 Start watching this issue Dates Created: 23/Oct/07 23:41 Updated: 06/Oct/09 18:33 Resolved: 06/Oct/09 18:33 DevelopmentAgile View on I do the same test with Jetty (Here is project: http://www.jroller.com/brodkin/entry/a_maven_project_for_willie) and there is no such problem 11:33:30,484 ERROR [STDERR] Sep 22, 2008 11:33:30 AM org.apache.cxf.interceptor.LoggingInInterceptor logging INFO: Inbound Message ----------------------------

Error Reading Xmlstreamreader Unexpected Eof In Prolog

I've created a simple test case, you can simply run it with cxf-2.3.4-snapshot.jar & reproduce problem. Hide Permalink Eric Pederson added a comment - 08/Mar/11 03:41 I ran into this issue and it turned out to be that Content-Type was being set to form-encoded. Apache on Windows redirected requets to Jboss using AJP. I don't know what i'm doing wrong!

It has this element as xs:string. >> >> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. >> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:253) ~[cxf-bundle-2.7.11.jar:2.7.11] >> It looks like some data from socket not read correct. Herethecode: ServiceInterface: @WebService publicinterfaceHelloWorld{ publicStringsayHello(@WebParam(name="text")Stringtext); } -------------------------------------------------------------------------------- ServiceImplementation: @WebService(serviceName="helloWorld",endpointInterface= "com.multimodaltouch2.service.HelloWorld") @Features(features="org.apache.cxf.feature.LoggingFeature") publicclassHelloWorldImplimplementsHelloWorld{ @WebMethod publicStringsayHello(Stringtext){ System.out.println("sayHellocalled"); return"Hello"+text; } } -------------------------------------------------------------------------------- Applicationcontext(Ialsoputthestuffincxf-servlet.xml,butsame result) -------------------------------------------------------------------------------- Error Reading Xmlstreamreader Cxf at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:83) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78) at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:283) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:166) at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:174) at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at

We'll have to wait for someone else to help out... Error Reading Xmlstreamreader Curl Show Daniel Kulp added a comment - 06/Oct/09 18:33 Uri, Your test case seems to be working 100% correctly for me as well. As a workaround, could you try turning off the chunking? http://stackoverflow.com/questions/5313041/exception-when-sending-big-soap-request Wireshark traces are preferred.

JBoss 4.2.1, WinXP, JDK 1.5.0_12-b04, CXF 2.0.2-incubator, dependencies resolved with maven. Error Reading Xmlstreamreader Soapui I get: ---------------------------- Encoding: UTF-8 Headers: {connection=[keep-alive], cache-control=[no-cache], host=[localhost:8080], user-agent=[Java/1.5.0_13], transfer -encoding=[chunked], pragma=[no-cache], content-type=[text/xml; charset=UTF-8], accept=[*], soapaction=[""]} Messages: Message: Payload: HI -------------------------------------- Jul 7, 2008 4:12:23 PM org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback Sort results of a query by the order of OR clause Can filling up a 75 gallon water heater tank without opening a faucet cause damage? How to protect an army from a Storm of Vengeance How does the F-35's roll posts work, and how does its engine turn down 90 degrees Looking for "turn to dust"

Error Reading Xmlstreamreader Curl

It has this element as xs:string. >> >> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. >> at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:253) ~[cxf-bundle-2.7.11.jar:2.7.11] >> https://issues.apache.org/jira/browse/CXF-1648?attachmentOrder=desc Show Hannes Stauss added a comment - 02/Nov/07 18:27 Hi Daniel, sorry that I did not further comment on this issue - the problem is solved for me. Error Reading Xmlstreamreader Unexpected Eof In Prolog I'm going to resolve this. Soapfaultexception: Error Reading Xmlstreamreader You do not have to do any of this work if you think that someone here can provide you your answer magically.

I get "Server said: Hello HI" outputted on the client. http://dukesoftwaresolutions.com/error-reading/apache-mod-proxy-error-reading-status-line.html I monitored the messages with Eclipse TCP/IP Monitor and got following outboung message http header: <> 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: Also, this works for cxf-2.2.6.jar, it's only when I was trying fix for issue CXF-3383 with 2.3.4-snapshot, I got it. I get: ---------------------------- Encoding: UTF-8 Headers: {connection=[keep-alive], cache-control=[no-cache], host=[localhost:8080], user-agent=[Java/1.5.0_13], transfer -encoding=[chunked], pragma=[no-cache], content-type=[text/xml; charset=UTF-8], accept=[*], soapaction=[""]} Messages: Message: Payload: HI -------------------------------------- Jul 7, 2008 4:12:23 PM org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback Caused By: Com.ctc.wstx.exc.wstxeofexception: Unexpected Eof In Prolog

How about some wiretraces of the messages? Probaly particular version of proxy_ajp_module on windows have such issue with my jboss Thanks Show Natan added a comment - 19/Oct/08 12:54 The issue was like that: cleint talked to webservice Ordering a list of strings How can I remove perfectly round locking wheel lugs? http://dukesoftwaresolutions.com/error-reading/proxy-error-reading-status-line.html Nevertheless, looks funny to me that Metro worked....

Before closing this off, could they double check for anything similar? Org.apache.cxf.binding.soap.soapfault Internal Error As a workaround, could you try turning off the chunking? Also, try using something like wireshark to capture the actual network traffic and seeing if the response is bogus there as well.

Thanks for your support!

Group of units of a ring spectrum vs of its connective cover Looking for "turn to dust" alternative as a single word Finding file name οf currently open file in vi Show Daniel Kulp added a comment - 01/Jul/08 19:35 Any chance one of you could create a small sample project that shows the issue and attach it? Show D Dub added a comment - 24/Oct/07 14:56 This also happens with 2.0.3. Xmlstreamreader Unexpected Eof In Prolog I have no idea what to do with the above to test it.

I did everything for building the sample in server side and in client side, the webservice deploy successfully in JBoss, even accessing from the browser, i see the wsdl generated, but I just ran that and it does work. > > Roland Craddolph | IT Developer III | Development Services | Office: (816) 760-7764 | Home: (816) 875-9706 | Mobile: (816) 863-5189 I have read that this error typically means that there is a problem with the WSDL in reference, but I can't find anything wrong with it. weblink more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Technical term to denote opposite of dependency injection? Show Daniel Kulp added a comment - 18/Mar/13 18:05 Is this still an issue? Show Eric Pederson added a comment - 08/Mar/11 03:41 I ran into this issue and it turned out to be that Content-Type was being set to form-encoded. I help millions of people every day, but am taken for granted by all but one How do I programmatically generate an entity form?

If you are not the >> intended recipient, any use, copying, printing, reviewing, retention, >> disclosure, distribution or forwarding of the message or any attached >> file is not authorized and Fix drywall that lost strength due to hanging curtain rod RemoteAction Vs REST? We have used REST type services in this environment forever. If you are not the >>> intended recipient, any use, copying, printing, reviewing, retention, >>> disclosure, distribution or forwarding of the message or any attached >>> file is not authorized and

People Assignee: Unassigned Reporter: victor escutia Votes: 0 Vote for this issue Watchers: 1 Start watching this issue Dates Created: 12/Jun/08 22:19 Updated: 08/Mar/11 03:41 Resolved: 19/Jun/09 19:18 DevelopmentAgile View on I don't think you will be that lucky though, but sometimes it happens. Check my 27/Oct/07 10:16 AM message above. Join them; it only takes a minute: Sign up Exception when sending big soap request up vote 0 down vote favorite There is a web-service deployed on tomcat 6 and exposed

What tool can I use? Thanks Hannes Show Hannes Stauss added a comment - 27/Oct/07 15:48 - edited Same Problem. If i put sleep between requests to 7-10 seconds then i get exception on server side in parsing of the request. The original issue has not been reproducable.

Show D Dub added a comment - 16/Nov/07 15:38 - edited So is everyone saying there is something on the Linux box, virus protection etc. If you run TestWSServerHandler.class standalone, it works, but not from applet. Show Piotr Berłowski added a comment - 24/Oct/07 08:29 Hmm. The reply I get for this request is: <> 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

I cannot put Wireshark on the Dev server. Hide Permalink Daniel Kulp added a comment - 18/Mar/13 18:05 Is this still an issue?