cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carr <james.r.c...@gmail.com>
Subject Re: WstxEOFException: Unexpected EOF in prolog
Date Tue, 15 Dec 2009 13:06:33 GMT
I know the low level cause... there's no response. Im facing this
problem too... it tries to parse the response when it shouldnt because
i've anotated the method as OneWay. :(

On 12/15/09, adi7 <aditya.muley@db.com> wrote:
>
> I have simple web service, which works when deployed to tomcat 5.5 and
> tested
> using sopaUI.
>
> Am using cxf 2.2.5, spring 2.5.6
>
> But it throws following exception when tried to call it via spring client
>
> Request TYPE getColumns
> 15-Dec-2009 10:14:34 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> WARNING: 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:230)
> .
> .
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,0]
>
> SpringServlet.xml config -
>
>    <bean id="testController"
> class="com.db.gme.analytics.eas.aws.web.test.TestController">
>     <constructor-arg value="http://localhost:8090/test"></constructor-arg>
>     </bean>
>
>     <bean id="urlMapping"
> class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
>         <property name="mappings">
>             <props>
>                 <prop key="/query.htm">testController</prop>
>             </props>
>         </property>
>     </bean>
>
>
> web.xml config -
>
>  <servlet>
>     <servlet-name>SpringServlet</servlet-name>
>
> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
>     <load-on-startup>1</load-on-startup>
>   </servlet>
>
>   <servlet-mapping>
>     <servlet-name>SpringServlet</servlet-name>
>     <url-pattern>*.htm</url-pattern>
>   </servlet-mapping>
>
>
> any ideas ?
>
> regards
> adi
>
>
> --
> View this message in context:
> http://old.nabble.com/WstxEOFException%3A-Unexpected-EOF-in-prolog-tp26792424p26792424.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Mime
View raw message