forcedotcom / wsc

Other
271 stars 222 forks source link

Can't generate stubs from the tooling wsdl #240

Open bryanobw opened 5 years ago

bryanobw commented 5 years ago

Hi, I'm trying to generate the stubs from the 46.0 tooling wsdl with the latest release of the wsc. I'm getting numerous "cannot find symbol" errors. Here is the console output.

java -jar force-wsc-46.1.0-uber.jar tooling-46.0.wsdl tooling-46.0.0.jar [WSC][wsdlc.main:71]Generating Java files from schema ... [WSC][wsdlc.main:71]Generated 1263 java files. [WSC][wsdlc.main:71]Compiling to target 1.6... warning: [options] bootstrap class path not set in conjunction with -source 1.6 /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/UserManagementSettings.java:205: error: cannot find symbol private com.sforce.soap.tooling.metadata.UserManagementSettings Metadata; ^ symbol: class UserManagementSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/UserManagementSettings.java:207: error: cannot find symbol public com.sforce.soap.tooling.metadata.UserManagementSettings getMetadata() { ^ symbol: class UserManagementSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/UserManagementSettings.java:211: error: cannot find symbol public void setMetadata(com.sforce.soap.tooling.metadata.UserManagementSettings Metadata) { ^ symbol: class UserManagementSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/AnalyticsSettings.java:263: error: cannot find symbol private com.sforce.soap.tooling.metadata.AnalyticsSettings Metadata; ^ symbol: class AnalyticsSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/AnalyticsSettings.java:265: error: cannot find symbol public com.sforce.soap.tooling.metadata.AnalyticsSettings getMetadata() { ^ symbol: class AnalyticsSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/AnalyticsSettings.java:269: error: cannot find symbol public void setMetadata(com.sforce.soap.tooling.metadata.AnalyticsSettings Metadata) { ^ symbol: class AnalyticsSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/UserManagementSettings.java:220: error: cannot find symbol setMetadata((com.sforce.soap.tooling.metadata.UserManagementSettings)typeMapper.readObject(in, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","UserManagementSettings",0,1,true), com.sforce.soap.tooling.metadata.UserManagementSettings.class)); ^ symbol: class UserManagementSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/UserManagementSettings.java:220: error: cannot find symbol setMetadata((com.sforce.soap.tooling.metadata.UserManagementSettings)typeMapper.readObject(in, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","UserManagementSettings",0,1,true), com.sforce.soap.tooling.metadata.UserManagementSettings.class)); ^ symbol: class UserManagementSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/AnalyticsSettings.java:278: error: cannot find symbol setMetadata((com.sforce.soap.tooling.metadata.AnalyticsSettings)typeMapper.readObject(in, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","AnalyticsSettings",0,1,true), com.sforce.soap.tooling.metadata.AnalyticsSettings.class)); ^ symbol: class AnalyticsSettings location: package com.sforce.soap.tooling.metadata /var/folders/dz/0gjncmxj7t122x8tlcscwq_m0000gn/T/wsc-scratch6300091101829371115tmp/com/sforce/soap/tooling/sobject/AnalyticsSettings.java:278: error: cannot find symbol setMetadata((com.sforce.soap.tooling.metadata.AnalyticsSettings)typeMapper.readObject(in, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","AnalyticsSettings",0,1,true), com.sforce.soap.tooling.metadata.AnalyticsSettings.class)); ^ symbol: class AnalyticsSettings location: package com.sforce.soap.tooling.metadata 10 errors 1 warning Error: Failed to compile

bugude commented 5 years ago

Have the same issue. Have we made it work?