On Jul 3, 2008, at 6:11 PM, Benjamin Coiffe wrote:

is there a way to enable -autoNameResolution for the dynamic client?
thanks,

That should probably be the default for the dynamic client. Can you file a JIRA? It should be just taking the ClassNameAllocatorImpl from the tools module and setting it into the schemaCompiler. A patch would be nice. :-)

Dan




Benjamin Coiffe




-----Original Message-----
From: Daniel Kulp [mailto:[EMAIL PROTECTED]
Sent: Thu 7/3/2008 4:55 PM
To: [email protected]
Subject: Re: can not generate stubs for salesforce partner wsdl



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






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




Reply via email to