Hi Tim,
Are your code and beans.xml in same bundle?
Could you please show me the method how you reference the beans.xml from your code?

Freeman
On 2010-10-12, at 下午6:41, Tim Dellas wrote:

Hey there!

I have the beans.xml file under src/main/resources/META-INF/spring/ of my cxf bundle and use it to define <jaxws:endpoint>s. Everything works to far, but as I’m not familiar with Spring so far, I wonder how I can get these beans and define more beans that I can somehow reach in the bundle’s code. In all examples I found, I need to define the location of the XML file, and I don’t know how to do that. The generated bundle contains the META-INF/spring/beans.xml file, but I can’t reference it via “classpath:META-INF/spring/ beans.xml” or “file: META-INF/spring/beans.xml”. I want to be able to get the endpoints and other beans in my code.

Hope someone can point me in the right direction.


Best Regards,

Tim

__________________________________________________
Ascora GmbH


Dipl. Inform. Tim Dellas
[email protected]
http://www.ascora.de
__________________________________________________


__________________________________________________



--
Freeman Fang

------------------------
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to