Hi I don't know if I have correctly understood your question. Do you ask how you can install all the cxf dependencies? Almost everything is installed in ServiceMix. The CXF project provides feature file for the CXF libraries and it's dependencies. You can see it by pitying:
karaf@root> features:list | grep cxf [installed ] [2.14.1 ] camel-cxf camel-2.14.1 [uninstalled] [5.4.0 ] examples-cxf-osgi servicemix-examples-5.4.0 .... [installed ] [3.0.2 ] cxf-specs cxf-3.0.2 [installed ] [3.0.2 ] cxf-jaxb cxf-3.0.2 [uninstalled] [3.0.2 ] cxf-abdera cxf-3.0.2 [installed ] [2.0.2 ] wss4j cxf-3.0.2 [installed ] [3.0.2 ] cxf-core cxf-3.0.2 [installed ] [3.0.2 ] cxf-wsdl cxf-3.0.2 .... If you need something what is not installed by default, you can install the feature manually (using features:install command) or reference it in your feature. You must only ensure your bundle imports all necessary packages from the CXF stuff. Regards Krzysztof On 16.06.2015 14:18, Nagesh wrote: > Thank you so much. You saved my life. > > As you suggested I have converted unzipped bundles to jar again using below > command > > jar cf com.rac.teamcenter.external.jar * > > and then modified manifest.mf file of this new jar. Now I am able to install > features. > > But one thing I would like to ask you is, how karaf/servicemix read/activate > this bundles?. because in my case I have added external dependencies to > cxf-osgi example project e.g. TcSoaClient_10000.1.0.jar. (I am doing all > this to create cxf web service and deploy it in servicemix) . I have added > this jar as cxf-osgi web service dependency , this external jar depend on > five more external jar, that five more external jar again depend on its own > dependencies and so on. > > This dependencies chain is going on and on. do karaf/servicemix always > deploy anythings on its way to so called bundle? e.g is .war, .wab get > installed as bundle internally? How can I handle this external dependencies > jars in case of cxf web service? > > Thank you > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/install-external-osgi-jars-using-karaf-s-feature-xml-tp5722692p5722697.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. -- Krzysztof Sobkowiak JEE & OSS Architect Apache Software Foundation Member Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>
