cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@gmail.com>
Subject Re: Error on using camel cxf "No binding factory… http://schemas.xmlsoap.org/soap/ registered (but works in eclipse)
Date Mon, 30 Jun 2014 09:12:28 GMT
Hi,

You need ensure you have cxf-rt-bindings-soap.jar on your class path
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat



On 2014-6-30, at 下午4:57, dermoritz wrote:

> I created a very simple project (cxf, camel, maven) and created a simple rout
> from file to a webservice. See attachement or check out/ watch the code
> here: https://bitbucket.org/moritz_loeser/cxftests/src
> 
> There is a test that just call main() this test is working fine *but* if i
> build ("mvn clean install") and run "java -jar
> cxfTests-1.0-SNAPSHOT-jar-with-dependencies.jar" i get this error:
> 
> Exception in thread "main" org.apache.camel.FailedToCreateProducerException:
> Failed to create Producer for endpoint: End
> point[cxf://http://localhost:8088/mockEventSoapBinding?serviceClass=com.sas.o2.rtdm.general.EventPortType].
> Reason: org.
> apache.cxf.service.factory.ServiceConstructionException: Could not resolve a
> binding for null
> ...
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException:
> Could not resolve a binding for null
>        at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.j
> ava:352)
> ...
> Caused by: org.apache.cxf.BusException: No binding factory for namespace
> http://schemas.xmlsoap.org/soap/ registered.
>        at
> org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:123)
>        at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.j
> ava:339)
> 
> So what to do to get this working outside eclipse?
> 
> *Attachement:*
> cxfTests.zip <http://cxf.547215.n5.nabble.com/file/n5745738/cxfTests.zip>  
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Error-on-using-camel-cxf-No-binding-factory-http-schemas-xmlsoap-org-soap-registered-but-works-in-ec-tp5745738.html
> Sent from the cxf-user mailing list archive at Nabble.com.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message