cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "victor escutia (JIRA)" <>
Subject [jira] Updated: (CXF-1648) org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
Date Wed, 02 Jul 2008 05:22:47 GMT


victor escutia updated CXF-1648:

    Attachment: lista_libs.rar

Hi Daniel, thanks in advance for your support.
I send you a simple eclipse CXF webservice project using spring, and a simple eclipse CXF
client project. With this client project i can't get connect with the webservice published
in a Apache-tomcat-5.5.25.
The curious thing is that with a client i can connect with that webservice, but not
with a java generated client.

I don't know what i'm doing wrong! Any help would be appreciated.

P.S. 1. The client stubs were generated with wsdl2java command of CXF distribution.
     2. I send you a list of all .jars at present i use in both projects, there are many libraries
but i test even with the minimal jars with the same results.

Thanks for your support!


> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
> ---------------------------------------------------------------------
>                 Key: CXF-1648
>                 URL:
>             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" Error reading XMLStreamReader.
> 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
> 	at $Proxy35.sayHi(Unknown Source)
> 	at clientCXF.conectar(
> 	at clientCXF.main(
> Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(
> 	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> 	at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(
> 	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> 	at org.apache.cxf.endpoint.ClientImpl.onMessage(
> 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(
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
>         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
>         at org.apache.cxf.transport.servlet.ServletDestination.invoke(
>         at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
>         at org.apache.cxf.transport.servlet.ServletController.invoke(
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(
>         at javax.servlet.http.HttpServlet.service(
>         at javax.servlet.http.HttpServlet.service(
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>         at org.apache.catalina.core.StandardWrapperValve.invoke(
>         at org.apache.catalina.core.StandardContextValve.invoke(
>         at org.apache.catalina.core.StandardHostValve.invoke(
>         at org.apache.catalina.valves.ErrorReportValve.invoke(
>         at org.apache.catalina.core.StandardEngineValve.invoke(
>         at org.apache.catalina.connector.CoyoteAdapter.service(
>         at org.apache.coyote.http11.Http11Processor.process(
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
>         at
>         at
>         at org.apache.tomcat.util.threads.ThreadPool$
>         at
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,0]
>         at
>         at
>         at
>         at
>         at
>         at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(
> 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.

View raw message