You need to sign in to do that
Don't have an account?
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...
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.
5.0b.
Thanks