cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Lipofsky" <Daniel.Lipof...@bricsnet.com>
Subject RE: turning off @XmlSeeAlso in wsdl2java in CXF 2.1
Date Fri, 16 May 2008 15:27:10 GMT
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:Daniel.Lipofsky@bricsnet.com]
> Sent: Wednesday, May 07, 2008 1:34 PM
> To: users@cxf.apache.org
> 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

Mime
View raw message