I did figure out I could create an empty ObjectFactory class to overcome this problem. But I am still wondering if the generation of this tag could be turned off, or what it is used for and why is it needed.
Thanks, Dan > -----Original Message----- > From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 07, 2008 1:34 PM > To: [email protected] > Subject: turning off @XmlSeeAlso in wsdl2java in CXF 2.1 > > With CXF 2.1 wsdl2java the generated code now adds @XmlSeeAlso. > Is there a way to turn this off? > > This only case seems to be "@XmlSeeAlso({ObjectFactory.class})". > I don't want to use ObjectFactory and have been choosing to > delete it but without it I can't compile because of this tag. > > (ObjectFactory seems to be totally unneccessary to me, > and since it has one per service and I choose to have many > services generate into the same package this is a problem > unless I restructure everything about my build. I was hoping > to just do a simple migration from 2.0.5). > > Thanks, > Dan
