Two options:

1) Use a jaxb bindings file to rename one of the "DescribeLayout" classes to something else.

2) If using CXF 2.1.1 or 2.0.7, add -autoNameResolution to the command line to have it automatically mangle names that would be duplicates.

Dan



On Jul 3, 2008, at 4:47 PM, Benjamin Coiffe wrote:

Hi,

I have a problem trying to generate the stubs for the wsdl attached which is the one provided by salesforce to intgrate their technology. Any ideas?

Error is: Error compiling schema from WSDL at {http://localhost:13100/kserver/data?file=/admin.user/partner.wsdl/contents.file }: A class/interface with the same name "com.sforce.soap.partner.DescribeLayout" is already in use. Use a class customization to resolve this conflict. <<partner.wsdl>>

Benjamin Coiffe



---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to