You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by AdityaChava93 <ad...@gmail.com> on 2015/07/13 12:47:30 UTC
Apache CXF wsdl2java "-autoNameResolution" through Dynamic client
hi There,
I am writing a dynamic CXF client using JaxWsDynamicClientFactory and
parsing a wsdl . Unfortunately the wsdl is generting an exception
* A class/interface with the same name "mu.mcb.cbk.ArrayOfUserInfo" is
already in use. Use a class customization to resolve this conflict.*
in wsdl2java , there is an option to give "-autoNameResolution",it can
solve the problem.But is there a way in which we can give through dynamic
client.
I have tried with
/JaxWsDynamicClientFactory factory =
JaxWsDynamicClientFactory.newInstance();
String [] options = { "-XautoNameResolution" };
factory.setSchemaCompilerOptions(options);/
but i have got
*com.sun.tools.xjc.BadCommandLineException: grammar is not specified *
Did I miss something. Please help me .
Thanks in Advance!!
--
View this message in context: http://cxf.547215.n5.nabble.com/Apache-CXF-wsdl2java-autoNameResolution-through-Dynamic-client-tp5759091.html
Sent from the cxf-user mailing list archive at Nabble.com.