BreadcrumbsHome / wsimport problem: Found an answer
wsimport problem: Found an answer
Last Updated on Sunday, 1 July 2012 Written by Chad Darby Friday, 15 July 2011
I was having problems using wsimport to generate SOAP clients from a wsdl. For a certain WSDL file, I kept getting the error:
[ERROR] A class/interface with the same name “xxxx” is already in use. Use a class customization to resolve this conflict.
I was stumped on this for a bit. StackOverflow saved the day! An answer was posted here that fits my exact problem.
The solution is to use “-B-XautoNameResolution” in your wsimport command. Worked like a charm 🙂 Sweet!