restful_http_binding samples does not work
------------------------------------------

                 Key: CXF-550
                 URL: https://issues.apache.org/jira/browse/CXF-550
             Project: CXF
          Issue Type: Bug
          Components: Build system
    Affects Versions: 2.0-RC
         Environment: on linux platform
            Reporter: Bozhong Lin
             Fix For: 2.0-RC


Following error is spit from server:
    [java] Exception in thread "main" 
org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve 
a binding for http://apache.org/cxf/binding/http
     [java]     at 
org.apache.cxf.frontend.AbstractEndpointFactory.createBindingInfo(AbstractEndpointFactory.java:241)
     [java]     at 
org.apache.cxf.jaxws.JaxWsServerFactoryBean.createBindingInfo(JaxWsServerFactoryBean.java:105)
     [java]     at 
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpointInfo(AbstractEndpointFactory.java:175)
     [java]     at 
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:100)
     [java]     at 
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:84)
     [java]     at com.acme.customer.Main.createRestService(Main.java:79)
     [java]     at com.acme.customer.Main.main(Main.java:55)
     [java] Caused by: org.apache.cxf.BusException: No binding factory for 
namespace http://apache.org/cxf/binding/http registered.
     [java]     at 
org.apache.cxf.binding.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:78)
     [java]     at 
org.apache.cxf.frontend.AbstractEndpointFactory.createBindingInfo(AbstractEndpointFactory.java:236)
     [java]     ... 6 more


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to