I had the same problem with the location attribute and used javassist tools for removing the location attribute on the fly from the generated package when running the xsd generation. This way you don't need to mess with the source code. Just an idea ;-)
-- View this message in context: http://cxf.547215.n5.nabble.com/CXF-java2wsdl-plugin-not-importing-external-schema-defined-in-XmlSchema-annotation-tp5135016p5709350.html Sent from the cxf-user mailing list archive at Nabble.com.
