It looks like you're running into the same usage issue as Powel did.   
See:
http://mail-archives.apache.org/mod_mbox/incubator-cxf-user/200801.mbox/<200801151428.34207.dkulp%40apache.org>

Dan



On Tuesday 15 January 2008, yulinxp wrote:
> When deploying in tomcat, it's complaining about "Caused by:
> java.net.MalformedURLException: no protocol: /hello_world"
> Did I not get the schema for simple? where can I find it?
>
> SEVERE: Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'helloWorld':
>  Invocation of init method failed; nested exception is
> org.apache.cxf.service.factory.ServiceConstructionException
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException
>         at
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.jav
>a:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>ava:39) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>orImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>actory.invokeCustom
> InitMethod(AbstractAutowireCapableBeanFactory.java:1240)
> .....
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:51
>6) at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at
> org.apache.catalina.startup.Catalina.start(Catalina.java:566) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>ava:39) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>orImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused
> by: java.net.MalformedURLException: no protocol: /hello_world at
> java.net.URL.<init>(URL.java:567)
>         at java.net.URL.<init>(URL.java:464)
>         at java.net.URL.<init>(URL.java:413)
>         at
> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.<init>(JettyH
>TTPDestination.java
>
> :88)
>
>         at
> org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory.createDe
>stination(JettyHTTP TransportFactory.java:116)
>         at
> org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory.getDesti
>nation(JettyHTTPTra nsportFactory.java:103)
>         at
> org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTr
>ansportFactory.java
>
> :74)
>
>         at
> org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:90)
>         at
> org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69) at
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.jav
>a:109) ... 41 more
> -------------------------------
>
> <beans xmlns="http://www.springframework.org/schema/beans";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xmlns:simple="http://cxf.apache.org/simple";
>       xmlns:soap="http://cxf.apache.org/bindings/soap";
>       xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> http://cxf.apache.org/bindings/soap
> http://cxf.apache.org/schemas/configuration/soap.xsd
> http://cxf.apache.org/simple
> http://cxf.apache.org/schemas/simple.xsd";>
>
>   <simple:server id="helloWorld" serviceClass="demo.spring.HelloWorld"
> address="/hello_world">
>     <simple:dataBinding>
>        <bean class="org.apache.cxf.aegis.databinding.AegisDatabinding"
> /> </simple:dataBinding>
>       <simple:serviceBean>
>               <bean class="demo.spring.HelloWorldImpl" />
>       </simple:serviceBean>
>   </simple:server>
> </beans>



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to