Hi

I try to invoke my first Webservice with CXF inside Camel.
Camel: 3.18.2, Java 15, SpringBoot 2.7.3

But got the following error:
Configuration problem: Unable to locate Spring NamespaceHandler for XML schema 
namespace [http://camel.apache.org/schema/cxf]

My POM includes CXF as follows:
<dependency>
       <groupId>org.apache.camel.springboot</groupId>
       <artifactId>camel-cxf-soap-starter</artifactId>
       <version>${camel.version}</version> // is version 3.18.2
</dependency>

My beans-config as follows:
<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:cxf="http://camel.apache.org/schema/cxf";
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd
        http://camel.apache.org/schema/cxf 
http://camel.apache.org/schema/cxf/camel-cxf.xsd
        http://camel.apache.org/schema/spring 
http://camel.apache.org/schema/spring/camel-spring.xsd";>
       <cxf:cxfEndpoint id="sessionServiceEndpoint" 
address="XXXXXXXXXXXXXXXXSessionService"
            wsdlURL="XXXXXXXXXXXXXXXXSessionService?wsdl"
            serviceClass="com.xxx.xxx.services.SessionService"
            endpointName="tns:SessionServicePort"
            serviceName="tns:SessionService"
               xmlns:tns="http://services.xxx.xxx.com"; />

There must be a jar missing, but which one?

Reply via email to