Hi Jean-Baptiste,

This is what I have in my feature file:

<repository>mvn:org.apache.cxf.karaf/apache-cxf/3.5.5/xml/features</repository> <feature name="smx3.cxf" description="SMX3 :: CXF" version="${project.version}"> <feature version="3.5.5">cxf-core</feature>
  <feature version="3.5.5">cxf-jaxws</feature>
  <feature version="3.5.5">cxf-databinding-jaxb</feature>
</feature>

This gives me the following outputL

smx3  | org.osgi.framework.BundleException: Unable to resolve smx3.system 
[118](R 118.0):
 missing requirement[smx3.system [118](R 118.0)] osgi.wiring.package; 
(&(osgi.wiring.package=smx3.mailproducts.api)(version>=21.1.0)(!(version>=22.0.0)))
[caused by: Unable to resolve smx3.mailproducts [145](R 145.0):
 missing requirement [smx3.mailproducts [145](R 145.0)]
 osgi.wiring.package; 
(&(osgi.wiring.package=javax.xml.ws.soap)(version>=0.0.0))] Unresolved 
requirements: [[smx3.system [118](R 118.0)] osgi.wiring.package;
(&(osgi.wiring.package=smx3.mailproducts.api)(version>=21.1.0)(!(version>=22.0.0)))]

Interestingly, I was trying to figure out where I found the version from (I may have just been trying any modern version), but I note the /examples/pom.xml in the binary zip refers to a parent ../pom.xml which doesn't exist (it's there in the -src.zip tho, and at 3.5.5.

Mark


On 6/11/23 6:37 pm, Jean-Baptiste Onofré wrote:
Hi

Which CXF version are you using ?
I guess it’s about CXF support.

I will check on main.

Regards
JB

Le dim. 5 nov. 2023 à 20:31, Mark Derricutt<m...@talios.com>  a écrit :

Anyone got Karaf 4.4.4 and SOAP working under JDk 21?

I've been trying to update our project from Java 8, and just getting hit
with the lack of javax.ws.* classes being a part of the JDK from 9 onward.

Even the stock Karaf SOAP example doesn't seem to work for me - I'm
guessing I just need to add an extra dependency which provides those
classes, but haven't been able to find a recommended/standard
implementation to use...

Any pointers?



Reply via email to