How to import a schema (XSD) that is in a jar file into another schema (XSD)

I have some common types that are defined in a file xsd, which is then later inserted as a jar file. I have this jar file in my class path and I want to include this xsd in another xsd to use these types. How to transfer schema to jar file? I also want to create JAXB objects from the new schema, if possible. I also want to use this new scheme in my WSDL. Is it possible?

+5
source share
1 answer

The XJC tool offers a schema directory mechanism for handling problematic imported / included schemas:

XJC. , , :

0

All Articles