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

Reply via email to