You can use "#REF_BEAN_NAME" as the implementor attribute as shown here:
http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html, for your
spring config.

The client.xml and server.xml for our security tests might give you some
ideas:
http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/security/

Also my WSDL-first tutorial might be of help:
http://www.jroller.com/gmazza/date/20080417

HTH,
Glen


2008-06-28 Piotr Skawinski wrote:
> Hi,
> 
> I'm looking for some documentation on how to use spring's Ioc within the 
> service endpoint setup. 
> 
> For example having:
> 
> <beans xmlns="http://www.springframework.org/schema/beans";
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>       xmlns:jaxws="http://cxf.apache.org/jaxws";
>       xsi:schemaLocation="
> http://www.springframework.org/schema/beans 
> http://www.springframework.org/schema/beans/spring-beans.xsd
> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>
> 
>       <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="helloWorld" 
>         implementor="demo.spring.HelloWorldImpl" 
>         address="/HelloWorld" />        
> </beans>
> 
> I would like to provide my own beans and inject them in different endpoints 
> or for example to configure the endpoints to be transactional using spring's 
> transaction framework.
> 
> Is there any documentation showing how to use spring with cxf? The only 
> document I found is 
> http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html, but this 
> is a very pure document :(
> Regards Piotr
> 
> _________________________________________________________________
> Discover the new Windows Vista
> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

Reply via email to