Hi Bjorn,
Well, we use the following snippet with spring and cxf 2.1:
<jaxws:endpoint id="rubriekServiceSoap" implementor="#rubriekSoapService"
address="/rubriekservice">
<jaxws:serviceFactory>
<ref bean='jaxws-and-aegis-service-factory' />
</jaxws:serviceFactory>
</jaxws:endpoint>
<bean id="rubriekSoapService"
class="nl.gids.core.webservices.impl.RubriekServiceImpl">
Notice the absence of your service factory, in theory i believe this should
default but in our case
we had to add it.
Other then that I dont see much wrong with your code and spring context.
Regards,
Leo
<!-- ============================== WEB SERVICE END
POINT============================== -->
<!-- this does not work -->
<jaxws:endpoint
id="helloWorld"
implementor="#testWebService"
address="http://localhost:8080/HelloWorld" />
<!-- this works -->
<!--<jaxws:endpoint
id="helloWorld"
implementor="test.HellowWorldImpl"
address="http://localhost:8080/HelloWorld" />-->
<!-- ============================== WEB SERVICE END
POINT============================== -->
<!-- ============================== WEB SERVICE
============================== -->
<bean id="testWebService" class="test.HelloWorldImpl"/>
<!-- ============================== WEB SERVICE
============================== -->
<!-- now we can make use of the new Spring 2.5 annotation features -->
<context:annotation-config/>
<!-- required cxf ws imports -->
<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"/>
</beans>