Posted by champlir
on January 11, 2008 at 9:26 PM PST
I have a WSDL that I'm trying to import into Netbeans 6. It's giving me an error that a "class/interface with the same name is already in use".
In the WSDL are 4 simpleTypes defined all with the exact same name but they are separate schemas each with a unique namespace.
Is there an option within netbeans to support this and if not I'm assuming there was be something in the JAX-WS RI implementation they use to deal with this. I'm noticing Axis (Eclipse) creates a unique package for each namespace and visual studio creates one package but it appends a number to the end of each class.
How can I get this to work. There must be an easy way as this is a pretty common occurence. I'm noticing netbeans only lets me select one package for all classes generated for a given WSDL.
Thanks much in advance!