Hi I am using Camel 2.9.1 with CXF 2.4.2.
I am facing this issue where CXF is generating it's own wsdl and exposing it inspite of what i provided. Only differnce between these two wsdls is that CXF generated one doesnt have any wsdl: types defined in it.Which causing problem while accesing this web service using ..?wsdl url.
So how can we specify in camel-cxf to stop CXF to generate it's own wsdl. In plain CXF we can do that by
attribute wsdlLocation in the element jaxws:endpoint
As Christian Mueller mentioned, it would be good to see your cxf endpoint...
I assume you are using wsdl2java and giving the cxf endpoint a SEI? If you are using payload/message format then it's probably worth a mention you don't need the java classes and you can simply give cxf your desired wsdl, and then I believe cxf will host your wsdl rather than the one created from the wsdl2java classes. I could be wrong though.