I managed to get it work with http but now am trying to make it run via ssl
so changed "http://localhost:8090/test to ="https://localhost:8443/test and
made same change in wsdl address as well.

modified tomcat sever.xml to listen for https request on 8443.

But am getting same exceptiosn when it tried to create service, it works
fine with http://localhsot:8090/test 

-adi


adi7 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-tp26792424p27059580.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to