Breadcrumbs
Home / wsimport problem: Found an answerwsimport 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!
This entry was posted on Friday, 15 July 2011 and is filed under SOA. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
links
wsimport problem: Found an answer | luv2code – For Software Developers Who Luv To Code: Java Architects and Developers – Java EE, J2EE, Blog – Chad Darby