Dear all,
At the moment I havew my first try with CXF. Until now In just work with
Xfire. I wrote a simple Serverapplication in a Spring context. There is
a Interface-Class and a Implementation of this Interface-class. For the
methods in the implementation I need somd injected depencies out of the
spring context.I declared the serivice like this:
<jaxws:endpoint id="categoryService"
implementor="biz.dominiqueronde.argentum.server.provider.CategoryProvide
r"
address="/CategoryService">
</jaxws:endpoint>
And I add a bean like this:
<bean id="categoryService"
class="biz.dominiqueronde.argentum.server.provider.CategoryProvider">
<property name="hibernateTemplate">
<ref bean="hibernateTemplate" />
</property>
</bean>
But I get a null exception everytime I try to access the injected
hibernateTemplate.
Can you give me a hint?
Greetings
Dominique
Atos Origin GmbH, Theodor-Althoff-Str. 47, D-45133 Essen, Postfach 100 123,
D-45001 Essen
Telefon: +49 201 4305 0, Fax: +49 201 4305 689095, www.atosorigin.de
ING Bank AG, Frankfurt/Main: Konto 001 014 0937, BLZ 500 210 00, Swift / BIC
INGBDEFF, IBAN DE74 5002 1000 0010 1409 37
Geschäftsführer: Dominique Illien, Handelsregister Essen HRB 19354,
Ust.-ID.-Nr.: DE147861238