wsimport try to resolve by namespace
-
01-10-2019 - |
Question
Is it possible for wsimport to ignore "import" tags in wsdl that are http-linked to some XSD files and insted use XSD files provided next to the wsdl file?. I know svcutil is able to do so.
Solution
you can use an XML catalog to help tell wsimport how/where to resolve schema elements.
defines the xmlcatalog task for ant. you can reference the catalog via the "catalog" attribute of the wsimport ant task, or via the -catalog command line option of wsimport.
I hope this helps.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow