CXF in OSGI enRoute

2016-08-25 Thread Randy Leonard
ndles, all sharing a common servlet alias Randy Leonard ra...@leonard.info randy.leonard@gmail.com

Registered servlets within a bundle

2016-08-26 Thread Randy Leonard
A quick question… - is it possible to obtain from an OSGi bundle the list of servlets registered by that bundle? - or conversely, is it possible to obtain the servlet associated with each bus? Thanks, Randy Leonard ra...@leonard.info randy.leonard@gmail.com

Re: CXF in OSGI enRoute

2016-08-27 Thread Randy Leonard
per-bundle one if > depending on a default CXF servlet - you'd likely need to go a new Bus per > bundle route, customizing a servlet pattern per every bundle to avoid the > clashes. > > You may want to have a look at CXF DOSGi code too where CXFNonSpringServlet > i

Re: Registered servlets within a bundle

2016-08-27 Thread Randy Leonard
of existing CXF busses or HTTP Servlets. Your thoughts? Thanks, Randy Leonard ra...@leonard.info randy.leonard@gmail.com On Aug 26, 2016, at 3:20 PM, Randy Leonard wrote: > A quick question… > - is it possible to obtain from an OSGi bundle the list of servlets > registere

wsdl2java generates incorrect @XmlElement(namespace=“…”)

2016-09-17 Thread Randy Leonard
I am using Apache CXF 3.1.7, and the wsdl2java command is generating code with missing/incorrect namespace attributes on the @XMLEment annotation. Note I generally use four distinct namespaces within each WSDL document, which are as follows: • Shared data types across many WSDL document

Re: Help understanding the OSGi based CXF rest service registration

2017-06-07 Thread Randy Leonard
Martini: I am using Apache CXF SOAP services with OSGI enRoute, with multiple CXF buses. My work on this pre-dates DOSGI and works just fine. If you wish, I can put some sample code together for you… you can convert to REST and post to the group? Let me know. Randy > On Jun 6, 2017, at 7:1

Re: OSGI bundle, best practices

2017-06-23 Thread Randy Leonard
Raffaele: I am successfully using Apache CXF with OSGI enRoute. To get this to work, I’ve created a number of bundles, as follows: com.xyz.domain.soap.client.api - api for client applications to bootstrap a CXF connection to service com.xyz.domain.soap.client.command - command line, for testing