You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/04/19 12:18:15 UTC

[jira] Created: (CXF-550) restful_http_binding samples does not work

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.


[jira] Commented: (CXF-550) restful_http_binding samples does not work

Posted by "Christian Blavier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509855 ] 

Christian Blavier commented on CXF-550:
---------------------------------------

I have the same problem : with following spring configuration

 <bean id="JaxWsServiceFactoryBean" class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean"> 
  <property name="wrapped" value="true"/> 
 </bean> 

   <jaxws:endpoint id="restfulServer" 
              implementor="#bookService" 
              address="/BookService"
              bindingUri="http://apache.org/cxf/binding/http">
     <jaxws:serviceFactory> 
         <ref bean="JaxWsServiceFactoryBean"/> 
     </jaxws:serviceFactory> 
  </jaxws:endpoint> 

I can't get my Restful web-service to work (I get a Could not resolve a binding for http://apache.org/cxf/binding/http error on jetty startup)


> 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
>            Assignee: Freeman Fang
>             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.


[jira] Assigned: (CXF-550) restful_http_binding samples does not work

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned CXF-550:
--------------------------------

    Assignee: Freeman Fang

> 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
>         Assigned To: Freeman Fang
>             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.


[jira] Resolved: (CXF-550) restful_http_binding samples does not work

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved CXF-550.
------------------------------

    Resolution: Fixed

> 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
>         Assigned To: Freeman Fang
>             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.


[jira] Commented: (CXF-550) restful_http_binding samples does not work

Posted by "Aijuan Cai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583749#action_12583749 ] 

Aijuan Cai commented on CXF-550:
--------------------------------

I have the same problem (Could not resolve a binding for http://apache.org/cxf/binding/http)
  in 2.0.5 nightly build apache-cxf-2.0.5-incubator-20080319.024727-10. 

> 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
>            Assignee: Freeman Fang
>             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.