We have found why that problem is occurring. We are using several XSD files with the same target namespace i.e., the elements of a the same namespace are spread into different files.
When CXF is generating the schema for a namespace, it can find the first element definition, but not the others. For those elements it is simply putting a nillable attribute. When it finds other files, it simply appends their definitions in a new schema definition. Is CXF requiring that each namespace must be declared in a single file? -- View this message in context: http://cxf.547215.n5.nabble.com/Original-global-element-found-in-file-exception-in-WSDL2Java-tp2855513p2972063.html Sent from the cxf-user mailing list archive at Nabble.com.
