I get this error when trying to consume a web service with a http:binding
(verb = GET and POST).  I saw another post about this and the response was
to upgrade to 2.0.3 or something but I am on 2.0.5.  I am wondering if there
is some configuration I am missing?  

My Spring configuration file looks like this:
        <import resource="classpath:META-INF/cxf/cxf.xml" />
        <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
        <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

        <jaxws:endpoint
id="jaxws.logic.stockquotesws.stockquotehttpget.StockQuoteHttpGet"
implementor="#logic.stockquotesws.stockquotehttpget.StockQuoteHttpGet"
implementorClass="interfaces.stockquotesws.stockquotehttpget.IStockQuoteHttpGetServiceEndpoint"
                address="/IStockQuoteHttpGetServiceEndpoint" />
        <jaxws:endpoint
id="jaxws.logic.stockquotesws.stockquotehttppost.StockQuoteHttpPost"
implementor="#logic.stockquotesws.stockquotehttppost.StockQuoteHttpPost"
        
implementorClass="interfaces.stockquotesws.stockquotehttppost.IStockQuoteHttpPostServiceEndpoint"
address="/IStockQuoteHttpPostServiceEndpoint" />
        <jaxws:endpoint
id="jaxws.logic.stockquotesws.stockquotesoap.StockQuoteSoap"
implementor="#logic.stockquotesws.stockquotesoap.StockQuoteSoap"
implementorClass="interfaces.stockquotesws.stockquotesoap.IStockQuoteSoapServiceEndpoint"
                address="/IStockQuoteSoapServiceEndpoint" />


Here is the stack trace:
Caused by: org.apache.cxf.BusException: No binding factory for namespace
http://schemas.xmlsoap.org/wsdl/http/ registered.
        at
org.apache.cxf.binding.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:82)
        at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:87)
        at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:51)

And here is some snippets from the wsdl:
  <wsdl:binding name="StockQuoteHttpGet" type="tns:StockQuoteHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="GetQuote">
      <http:operation location="/GetQuote" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="StockQuoteHttpPost" type="tns:StockQuoteHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="GetQuote">
      <http:operation location="/GetQuote" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>

-- 
View this message in context: 
http://www.nabble.com/No-binding-factory-for-namespace-http%3A--schemas.xmlsoap.org-wsdl-http--tp17279702p17279702.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to