Hi,

I don't think the all-in-one cxfTests-1.0-SNAPSHOT-jar-with-dependencies.jar  
would work here.

As this jar lost a lot of META-INF of CXF jars, especially the 
META-INF/spring.handlers  and extension stuff which will register 
*BeanDefinitionParser and SoapBindingConfiguration.

You may need use some tool like maven-shade-plugin which can merge 
spring.handlers|spring.schemas|*extension* from different dependencies 
together, currently it's only
http\://camel.apache.org/schema/cxf=org.apache.camel.component.cxf.spring.NamespaceHandler
in your all-in-one jar.

Better way is  you should use maven to manage the dependencies and launch the 
code directly.
-------------
Freeman(Yue) Fang

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



On 2014-6-30, at 下午5:24, dermoritz wrote:

> it is there. you could check mvn dependency:tree:
> [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ cxfTests ---
> [INFO] com.sas:cxfTests:jar:1.0-SNAPSHOT
> [INFO] +- org.apache.camel:camel-core:jar:2.13.1:compile
> [INFO] |  \- com.sun.xml.bind:jaxb-impl:jar:2.2.6:compile
> [INFO] +- org.apache.camel:camel-cxf:jar:2.13.1:compile
> [INFO] |  +- org.apache.camel:camel-spring:jar:2.13.1:compile
> [INFO] |  |  +- org.springframework:spring-aop:jar:3.2.8.RELEASE:compile
> [INFO] |  |  |  \- aopalliance:aopalliance:jar:1.0:compile
> [INFO] |  |  \- org.springframework:spring-tx:jar:3.2.8.RELEASE:compile
> [INFO] |  +- org.apache.camel:camel-cxf-transport:jar:2.13.1:compile
> [INFO] |  +- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.7.11:compile
> [INFO] |  |  +- org.apache.cxf:cxf-api:jar:2.7.11:compile
> [INFO] |  |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.2.1:compile
> [INFO] |  |  |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
> [INFO] |  |  |  +- org.apache.ws.xmlschema:xmlschema-core:jar:2.1.0:compile
> [INFO] |  |  |  +-
> org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
> [INFO] |  |  |  \- wsdl4j:wsdl4j:jar:1.6.3:compile
> [INFO] |  |  +- org.apache.cxf:cxf-rt-core:jar:2.7.11:compile
> [INFO] |  |  +- javax.ws.rs:javax.ws.rs-api:jar:2.0-m10:compile
> [INFO] |  |  +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.7.11:compile
> [INFO] |  |  \- org.apache.cxf:cxf-rt-transports-http:jar:2.7.11:compile
> [INFO] |  +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.7.11:compile
> [INFO] |  |  +- xml-resolver:xml-resolver:jar:1.2:compile
> [INFO] |  |  +- asm:asm:jar:3.3.1:compile
> [INFO] |  |  +- org.apache.cxf:cxf-rt-frontend-simple:jar:2.7.11:compile
> [INFO] |  |  \- org.apache.cxf:cxf-rt-ws-addr:jar:2.7.11:compile
> [INFO] |  |     \- org.apache.cxf:cxf-rt-ws-policy:jar:2.7.11:compile
> [INFO] |  |        \- org.apache.neethi:neethi:jar:3.0.3:compile
> [INFO] |  +- org.apache.cxf:cxf-rt-rs-security-oauth:jar:2.7.11:compile
> [INFO] |  |  \- net.oauth.core:oauth-provider:jar:20100527:compile
> [INFO] |  |     \- net.oauth.core:oauth:jar:20100527:compile
> [INFO] |  +- org.springframework:spring-core:jar:3.2.8.RELEASE:compile
> [INFO] |  |  \- commons-logging:commons-logging:jar:1.1.3:compile
> [INFO] |  +- org.springframework:spring-beans:jar:3.2.8.RELEASE:compile
> [INFO] |  +- org.springframework:spring-context:jar:3.2.8.RELEASE:compile
> [INFO] |  |  \-
> org.springframework:spring-expression:jar:3.2.8.RELEASE:compile
> [INFO] |  +- org.apache.cxf:cxf-rt-features-clustering:jar:2.7.11:compile
> [INFO] |  \- org.apache.cxf:cxf-rt-bindings-soap:jar:2.7.11:compile
> [INFO] |     \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.7.11:compile
> [INFO] +- org.slf4j:slf4j-api:jar:1.7.7:compile
> [INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.7:compile
> [INFO] +- log4j:log4j:jar:1.2.17:compile
> [INFO] \- org.apache.camel:camel-test:jar:2.13.1:test
> [INFO]    \- junit:junit:jar:4.11:test
> [INFO]       \- org.hamcrest:hamcrest-core:jar:1.3:test
> 
> but on the other how "to make sure". i added 
>               <dependency>
>                       <groupId>org.apache.camel</groupId>
>                       <artifactId>camel-cxf</artifactId>
>                       <version>2.13.1</version>
>               </dependency>
> 
> this should be sufficiant in current versions shouldn't it?
> 
> 
> 
> --
> 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-tp5745738p5745741.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to