Wsimport may generate errors such as the following:
wsimport -keep -p client bla.wsdl
[ERROR] A class/interface with the same name "client.Bla" is
already in use. Use a class customization to resolve this conflict.
One solution is to add the
-XautoNameResolution to the
JAXB schema compiler that is called by
Adding such option to the
line can be done by prefixing it with '
-B' (note that
-B is immediately followed by the
option, there is no intervening space).
wsimport -keep -p client -B-XautoNameResolution