function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
codeWarriorcodeWarrior 

Naming Conflict for sfdc.DescribeLayout_Type...

 

 

I get the following error when trying to do a build-clean in the NetBeans IDE:

>deps-jar:
>wscompile-init:
>sfdc-partner-client-wscompile:
>the following naming conflicts occurred: sfdc.DescribeLayout_Type
>        at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:267)
>        at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
>       at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
>        at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
>       at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
>        at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
>error: the following naming conflicts occurred: sfdc.DescribeLayout_Type
>Command invoked: wscompile C:\Java\j2sdk1.4.2_08\jre\bin\java.exe -classpath "C:\Java\j2sdk1.4.2_08\lib\tools.jar;C:\Program Files\netbeans-

>4.1\SunAppServer8.1>\lib\j2ee.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\saaj-api.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\saaj->impl.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\jaxrpc-api.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\jaxrpc-impl.jar;C:\WEBROOT\dforce->NB4.1\src\utilities;C:\Java\j2sdk1.4.2_08\lib\bsh-2.0b4.jar;C:\Java\jswdp-1.6\jaxrpc;C:\Java\j2sdk1.4.2_08\lib\postgresql-8.0-312.jdbc3.jar;C:\Java\jswdp-1.6\apache->ant;C:\Java\jswdp-1.6\jaxr;C:\Java\axis-1_2" com.sun.xml.rpc.tools.wscompile.Main -d C:\WEBROOT\dforce-NB4.1\build\generated\wsbinary -features:wsi,strict -import -keep -mapping C:\WEBROOT\dforce-NB4.1\build\web\WEB-INF\sfdc-partner-mapping.xml -s C:\WEBROOT\dforce-NB4.1\build\generated\wsclient -Xprintstacktrace >C:\WEBROOT\dforce-NB4.1\build\generated\wsclient\wsdl\sfdc-partner-config.xml
>C:\WEBROOT\dforce-NB4.1\nbproject\build-impl.xml:238: wscompile failed

I searched the ENTIRE file structure for DescribeLayout_Type and it doesnt show up anywhere in the structure...

 

 

DevAngelDevAngel

Hi codewarrior,

Not sure why you would get this (not familiar with netbeans).  You could try modifying the wsdl to remove the describe layou object to see if you still get the error.  It may be that there is something unrelated to he describe layout, but netbeans found the problem there first and failed before reporting anything more meaningful.

QueballQueball
Did you get a solution to this problem? I am having the same problem in Netbeans 4.1 and
5.0b.

Thanks
SuperfellSuperfell
You should log a bug with the netbeans folks, the WSDL works fine with many other tools including Axis & .NET, and is WSI Basic Profile 1.1 compliant.
QueballQueball
Is the partner.wsdl or the enterprise.wsdl file able to be submitted for review by the netbeans community? Basically are there any restrictions on who can see either or both of those files?
SuperfellSuperfell
Given them a copy of your partner WSDL.