Hi All,
I have created soap webservice, auhenticatewebsevice(bundled as jar).
I need to invoke the getUsers method of some other bundle ex: security(war bundle)..
I have some of the classes of 'security' bundle exposed as osgi:service beans in that bundle. In my 'authenticatewebservice' , i need the bundleContext or other instance in the class, to get the reference for those beans so that i can invoke the getUsers() of 'security' war bundle..
i tried referring those beas in my 'authenticatewebservice' bundle
inside bundle-context-osgi.xml using tag but no luck..It is giving nullpointerException..How to get the bundleContext instance in my soap webservice class.?.
any help/example greatly appreciated.
Thanks in advance..
Shachi
Hi,
Please don't post same question multiple times.
Both Willem and I already answer your question in another thread.
http://fusesource.com/forums/thread.jspa?threadID=4195
Freeman