Hi
Do you use the SpringBusFactory to load the Spring configuration file ?
If not , you need to include the below files to start a soap over http
service.
<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-extension-http-jetty.xml"/>
Willem.
thomaslarsson wrote:
Hello,
During startup of my application which is just a simple jax-ws service I get
the message
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'cxf' is defined
So the obvious question was first if there was a context file within my
classpath with a bean named 'cfx'?
My lib directory differs a little from the samples. I build my sample with
maven and used the
suggested pom file (building your cfx project with maven) to define my
dependencies.
This means my WEB-INF/lib folder contains a whole set of cfx-libs.
But all this aside, sure, there is such a bean defined in the
cfx-rt-core-2.0.2-incubator jar
under META-INF/cfx/cfx.xml.
What am I missing here?