Hi I finally found the correct namespaces inside the 3.18 Upgrade guide: https://camel.apache.org/manual/camel-3x-upgrade-guide-3_18.html and the error disappeared But I now got the problem "Get the wrong parameter size to invoke the out service, Expect size 6, Parameter size 1. Please check if the message body matches the CXFEndpoint POJO Dataformat request."
.setHeader("username", simple("CONNECT")) .setHeader("password", simple("F97DD39025331DA3DD857C134C43D93CFDE51C4B")) .setHeader("orgID", simple("403")) .bean(loginRequestBuilder, "getLogin") .log("Body is: ${body}") --> my body consist of the Login POJO which is built by the loginRequestBuilder: Body is: com.xxx.xxx.services.Login@712739c3 .setHeader(CxfConstants.OPERATION_NAME, constant("login")) .setHeader(CxfConstants.OPERATION_NAMESPACE, constant("http://services.mlsonline.sowatec.com")) .to("cxf:bean:sessionServiceEndpoint") >From the doc I know that the default message type is POJO. Does the POJO need >any special Annotation to be able to read the parameters of the Login object? In my case it has public getters and setters and is annotated like this: @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "login", propOrder = { "userName", "password", "anotherId", "anotherIdx", " anotherIdxx", " anotherIdxx" }) public class Login { .... -----Original Message----- From: Reto Peter <reto.pe...@advanceit.ch> Sent: Saturday, 10 September 2022 10:43 To: users@camel.apache.org Subject: CXF: Unable to locate Spring NamespaceHandler 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?