cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mallikarjuna R Mudiam (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1648) org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
Date Thu, 18 Jun 2009 21:50:07 GMT

    [ https://issues.apache.org/jira/browse/CXF-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721513#action_12721513
] 

Mallikarjuna R Mudiam commented on CXF-1648:
--------------------------------------------

Here is an Example of SOAP which is not well formed, under concurrent connections, produced
from CXF/spring/JBboss 

Looks like xmlstream reader issue in CXF 

<ssooaapp::EEnnvveellooppee xxmmllnnss::ssaopap=="http":/h/tstcph:e/m/assc.hxemmlasso.axpm.losroga/ps.ooarpg//esnovaepl/oepnev/e"lope/">><<ssooaapp::BBooddyy><<nnss33::ppiinnggRReessppoonnssee
xxmmllnnss::nnss33==""hhttttpp::////aappii..pp..tt..ccoomm//ssyysstteemm//ttyyppee"" xxmmllnnss::nnss22==""hhttttpp::////aappii..pp..tt..ccoomm//ssyysstteemm""><><nsn2s:2c:ucrurrernetnTtiTmieme>>22000099--0066--1188TT1144::1199::0066..880011--0044::0000<//nnss22::ccuurrrreennttTTiimmee>><<//nnss33::ppiinnggRReessppoonnssee>></soap:Body></soap:Envel<ope/>soap:Body></soap:Envelope>


> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
> ---------------------------------------------------------------------
>
>                 Key: CXF-1648
>                 URL: https://issues.apache.org/jira/browse/CXF-1648
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.1
>         Environment: Windows XP, JBoss 4.0.5 GA, cxf 2.1
>            Reporter: victor escutia
>            Priority: Critical
>         Attachments: docuStampCXF.rar, docuStampCXFClient.rar, lista_libs.rar
>
>
> Hi all,
> i'm building the HelloWorld sample, with spring. 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 the problem is in the client, i configured
the spring xml and access the webservice in this form;:
>         ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new
String[] {"META-INF/client-beans.xml"});
>         
> 	    HelloWorld client = (HelloWorld)context.getBean("client");
> 	    String response = client.sayHi("Joe");
> 	    System.out.println("Response: " + response);
> but, i got the following error in the line of invoking the remote method .sayHi("Joe"),
i think is nothing with the server because i test with tomcat 5.5 and is the same result.
> This is the client side exception:
> Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Error reading XMLStreamReader.
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:218)
> 	at $Proxy35.sayHi(Unknown Source)
> 	at clientCXF.conectar(clientCXF.java:17)
> 	at clientCXF.main(clientCXF.java:10)
> Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:70)
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
> 	at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96)
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:65)
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
> 	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:429)
> This is the server side exception:
> 12/06/2008 04:27:25 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:183)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         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:214)
>         at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:151)
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
>         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:269)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>         at java.lang.Thread.run(Thread.java:595)
> 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:661)
>         at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
>         at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
> Any help will be appreciated!!!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message