You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by tog <gu...@gmail.com> on 2008/02/09 14:42:22 UTC
A class/interface with the same name is already in use. Use a class customization to resolve this conflict.
When I try to use the following wsdl
https://oxbranch.optionsxpress.com/OPXSTools/OptionChain.asmx?WSDL
both with wsdl2java and the simple client I got the following error.
It is true that GeneralStockQuery is both an element and a complex type.
Is there a way to solve this by providing more information to xjc or
to wsdl2java ?
Thanks
Guillaume
INFO: Loading the JAXB 2.1 simple binding for client.
java.lang.RuntimeException: Error compiling schema from WSDL at
{https://oxbranc
h.optionsxpress.com/OPXSTools/OptionChain.asmx?WSDL}: A class/interface with
the
same name "com.optionsxpress.oxbranch.GeneralStockQuery" is already in use.
Use
a class customization to resolve this conflict...