You should take a look at CXF DOSGi. I am currently working on a new major version of it that makes it more flexible and even smaller. You can now use almost all CXF settings that can be done in xml by using intents.
See this example for DS with SOAP. https://github.com/apache/cxf-dosgi/tree/master/samples/soap You simply create an interface and impl with suitable annotations and export it as an OSGi service with special properties to mark it as exportable by CXF-DOSGi. The new version also ships with a repository pom that can be used as a pom based bnd index in bndtools 3.3. https://github.com/apache/cxf-dosgi/blob/master/distribution/repository/pom.xml I would be happy if you could give the current master code a try. Christian 2016-08-22 21:05 GMT+02:00 David Daniel <david.daniel.1...@gmail.com>: > Sorry just reread and saw the soap part. Please ignore. > > On Mon, Aug 22, 2016 at 3:01 PM, David Daniel <david.daniel.1...@gmail.com > > wrote: > >> I am curious what you mean by enRoute integration. You can use cxf with >> bndtools as with Christians example. https://github.com/cschneider/ >> osgi-chat Enroute sticks to osgi implementations in which case their >> rest spec defines how rest should work. Were you porting cxf to not >> require the httpservice and blueprint for service configuration as defined >> here https://github.com/osgi/design/blob/master/rfps/rfp-0173- >> JAX-RS-Services.pdf >> >> On Mon, Aug 22, 2016 at 2:33 PM, Randy Leonard <ra...@leonard.info> >> wrote: >> >>> To all: >>> >>> I am attempting build a small working example of SOAP message support >>> within enRoute using Apache CXF. The intention is to do so without xml >>> configuration files. >>> >>> The approach I suspect will work is as follows: >>> >>> - Define a component that scans a bundle for classes annotated with >>> javax.jws.WebService >>> - Add a reference to this component within a bundle activator for >>> those bundles containing cxf web services >>> - Invoke org.apache.cxf.jaxws.JaxWsServerFactoryBean for each class >>> annotated with javax.jws.WebService using metadata found within the >>> annotation (and perhaps static definitions within class?) >>> >>> >>> This approach should likely work for service registration. >>> >>> I am also poring through the Aries project source code to better >>> understand their Karaf-based support for CXF… to see what else may be >>> necessary to support CXF within enRoute. >>> >>> My question is if others agree with this approach to support CXF within >>> enRoute. Comments? >>> >>> Randy Leonard >>> ra...@leonard.info >>> www.leonard.info >>> +1 720-270-2628 >>> >>> >>> >>> >>> _______________________________________________ >>> OSGi Developer Mail List >>> osgi-dev@mail.osgi.org >>> https://mail.osgi.org/mailman/listinfo/osgi-dev >>> >> >> > > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de> Open Source Architect http://www.talend.com <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev