[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
AW: [swordfish-dev] Apache CXF
|
- From: "Voller Christian" <Christian.Voller@xxxxxxxxxxxxx>
- Date: Thu, 3 Dec 2009 10:52:51 +0100
- Delivered-to: swordfish-dev@eclipse.org
- Thread-index: Acpz2a7cizeXIKmsR1SbqjanACeStAAFhHKfAAGCHQA=
- Thread-topic: [swordfish-dev] Apache CXF
Title: Re: [swordfish-dev] Apache CXF
Jürgen,
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 !!!!!!
chris
Hi Christian,
>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"/>
</spring:bean>
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???
Kind regards
Jürgen
--
Jürgen
Kindler
Attachment:
cxf.zip
Description: cxf.zip