Hi again, Ok, I'm getting further, i can use implementation.osgi now in Eclipse/Equinox, can call an OSGi service from an implementation.java component and expose an OSGi service using binding.ws. That's good (-: Thanks for your support!
Now the next step: references of an implementation.osgi service. I read http://incubator.apache.org/tuscany/sca-java-implementationosgi.html and have some question about some of the statements there: -> "SCA runtime does not perform reference injection for OSGi-based component implementation. Reference lookup should always use the service registered with the highest ranking to ensure that SCA wiring and scope are maintained." Is that a limitation in principle or just a missing feature currently? I.e. will it be possible in a later version to wire together implementation.osgi components using the SCA composite definition without having to add OSGi service lookup code to the implementation? Or must (should?) this always be done in OSGi? -> "When OSGi declarative services are used, service registration and reference binding are performed by the OSGi declarative services runtime." Ok, I'll look into declarative services tomorrow, and I've seen already that there are test cases for this in itest/osgi-implementation. However, I do not understand, what is the relation between the reference definitions in the .composite files and the OSGi service component files in this case. Do I really have to specify the same information in two files? -> "References from components using <implementation.osgi/> can be wired to non-OSGi services ..." How does this work when reference injection is not performed, as said before? I tried to wire an implementation.osgi component to an implementation.java one, but I get a NullPointerException when calling the reference, because the reference is not injected, but I also get no error or warning from Tuscany. I see that there are test cases for this, e.g. itest\osgi-implementation\src\main\resources\wiring\wiring-test1.composite, where the OSGi retailers are referencing Java warehouses and it seems to work there. Is there a trick I'm missing? Is it different because I'm using Tuscany bundles? Any hint where I could starting to debug this? It has been a long day ... sorry if I'm asking dumb questions. Cheers, Juergen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]