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 Thu, 17 Dec 2009 04:27:10 GMT
I'm actually wrong... it was an environment issue. :S

Works fine. :)

On Wed, Dec 16, 2009 at 8:54 PM, Daniel Kulp <dkulp@apache.org> wrote:
> On Tue December 15 2009 8:06:33 am James Carr wrote:
>> 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. :(
>
> Any chance you can create a test case that shows this?   Our system tests for
> the oneways certainly aren't doing that.    I'd like to see a test for this.
>
> Dan
>
>>
>> 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.handleMess
>> >age(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-tp2679
>> >2424p26792424.html Sent from the cxf-user mailing list archive at
>> > Nabble.com.
>>
>
> --
> Daniel Kulp
> dkulp@apache.org
> http://www.dankulp.com/blog
>

Mime
View raw message