Incoming SOAP requests are not validated against our XML XSD schemas in camel-cxf

Solution Verified - Updated -


  • We have defined XML elements like NINO with some specific content in the XML XSD schema files.
    However, the CXF SOAP endpoint accepts SOAP XML requests and passes the same through camel route. Please note that the XML XSD schema validations are not applied to the incoming SOAP requests and that is where the problem is.

  • We checked Camel documentation and they have :

<cxf:cxfEndpoint id="routerEndpoint" address="http://localhost:9000/router"
  • The same stuff when installed in our local environment, the incoming SOAP requests are still not validated against our XML XSD schemas.

  • We think this has something to do with how XSD files are referenced in the OSGi bundle. Is there a bug in the OSGi, CXF stack ? Or , can we get some sample code on this ? How to reference multiple XML XSD files in the tag : <cxf:schemaLocation>classpath:wsdl/Message.xsd</cxf:schemaLocation> ?


  • Red Hat JBoss Fuse
    • 6.x
  • Apache Camel
  • camel-cxf component

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content