I would like to get some help on resolving the following error when I
used the CXF wsdl2java to generate the client side code:

 

C:\java\ApacheCXF\bin>wsdl2java -p cxf.client.salesforce -client -d
C:\temp\cxf\salesforce C:\SalesForce\wsdl\Axis2_enterprise.wsdl

WSDLToJava Error : Thrown by JAXB : A class/interface with the same name
"cxf.client.salesforce.DescribeLayout" is already in use. Use a class
customization to resolve this conflict.

 

If I directly use an XSD file to generate the schema Java objects with
JAXB for XML data binding, I know I can add certain customizations to
the XSD to resolve this kind of errors. With a WSDL instead of an XSD, I
am not sure what I should do with it to resolve this error. Usually this
kind of errors is caused by the underscore character or/and the
upper/lower cases of letters. In this case, the WSDL does have both
"DescribeLayout" and "describeLayout" defined as different elements.

 

Thanks for the help.

Reply via email to