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...