We did use a wsdl:import to import the initial xsd, though, rather than the 'correct' xsd:import. I don't know if that effects axis or not: we did that to coddle a different tool.
Also, do you have another way of validating the wsdl?
Another thought would be to increase the max heap size of the process WSDL2Java is running in - a silent termination makes me thing that there might be some issue there.
HTH, danch
Arno Huetter wrote:
Hi there,
when I invoke WSDL2Java on a certain WSDL, which imports several XSD files, which then again import a net of further XSD files (about 100 of them) containing more XSD types, there is absolutely no output generated. At first this was an issue of a low default timeout value (and there was an according error message), but then since passing "-O -1" (infinite timeout), WSDL2Java simply produces no output (and no error message either), but simply terminates after a couple of seconds.
What finally solved the problem was to manually move all the imports up to the WSDL file itself, which now imports all XSD files directly, and to remove all imports within the XSD files.
It took me hours to find out what's wrong. I would appreciate this issue to be fixed in the next release.
Kind regards, Arno Huetter