|Re: AW: [swordfish-dev] Apache CXF|
Thank you for your quick answer! Yes, the LocationUpdater is the generated Swordfish provider!
I have tried your suggestion, but it does not work! When starting the framwork connection is injected, but not when invoking the service??!!
I have attached the source ;-)! Maybe you can find some time to do a short check??
I am using the 0.9.1 Version from september. Is it possible to already use the new tooling pluings? Are there any special bundles required? I have already compiled the new tooling plugins, but when copying it into eclipse the whole swordfish support is not available any more??!!
Jürgen, thanks a lot for your help !!!!!!
Von: swordfish-dev-bounces@xxxxxxxxxxx [mailto:swordfish-dev-bounces@xxxxxxxxxxx] Im Auftrag von Jürgen Kindler
Gesendet: Do, 03.12.2009 09:08
An: Swordfish Developer Discussions
Betreff: Re: [swordfish-dev] Apache CXF
>From the code snippets you posted I am not sure if I fully understand what you are trying to do.
Is the LocationUpdater the generated Swordfish provider?
I would expect that you have to modify the META-INF/cxf-endpoint.xml in a way that adds the connection property to the generated service.
That could finally look similar to this:
<osgi:reference id="connectionServiceHelper" interface="com.mmkarton.mui.dbconnection.IConnection"/>
<spring:bean id="locationUpdaterServiceBean" class="com.mm_karton.locationupdater.LocationUpdaterImpl">
<spring:property name="connection" ref="connectionServiceHelper"/>
I would propose that you set a breakpoint in the setConnection method of your service to see if & when a connection is injected.
Could it be that the osgi:reference connectionServiceHelper is null???