You need to sign in to do that
Don't have an account?
System Administrator 463
Soap wsdl compile error while generating jar.
I am trying to integrate soap into my java environment through wsdl i tried with enterprise wsdl getting compilation error, same i tried with metadata wsdl which works fine but not useful for me.I would like to know where is the problem, Please help me to integrate.
Command:: java -DcompileTarget=1.8 -classpath wsc-22.jar com.sforce.ws.tools.wsdlc enterprise.wsdl enterprise.jar
same command is working fine and generating jar with metadata wsdl.
Error is as fallows:
\AppData\Local\Temp\wsdlc-temp-7590476078391448003-dir\com\sforce\soap\enterprise\FieldType.java:1: error: ',', '}', or ';' expected
package com.sforce.soap.enterprise;/** * Generated enum, please do not edit. */public enum FieldType { /** * Enumeration : string */ string, /** * Enumeration : picklist */ picklist, /** * Enumeration : multipicklist */ multipicklist, /** * Enumeration : combobox */ combobox, /** * Enumeration : reference */ reference, /** * Enumeration : base64 */ base64, /** * Enumeration : _boolean */ _boolean, /** * Enumeration : currency */ currency, /** * Enumeration : textarea */ textarea, /** * Enumeration : _int */ _int, /** * Enumeration : _double */ _double, /** * Enumeration : percent */ percent, /** * Enumeration : phone */ phone, /** * Enumeration : id */ id, /** * Enumeration : date */ date, /** * Enumeration : datetime */ datetime, /** * Enumeration : time */ time, /** * Enumeration : url */ url, /** * Enumeration : email */ email, /** * Enumeration : encryptedstring */ encryptedstring, /** * Enumeration : datacategorygroupreference */ datacategorygroupreference, /** * Enumeration : location */ location, /** * Enumeration : address */ address, /** * Enumeration : anyType */ anyType, /** * Enumeration : complexvalue */ complexvalue, /** * Enumeration : long */ long, }
2 errors
Error: Failed to compile
Command:: java -DcompileTarget=1.8 -classpath wsc-22.jar com.sforce.ws.tools.wsdlc enterprise.wsdl enterprise.jar
same command is working fine and generating jar with metadata wsdl.
Error is as fallows:
\AppData\Local\Temp\wsdlc-temp-7590476078391448003-dir\com\sforce\soap\enterprise\FieldType.java:1: error: ',', '}', or ';' expected
package com.sforce.soap.enterprise;/** * Generated enum, please do not edit. */public enum FieldType { /** * Enumeration : string */ string, /** * Enumeration : picklist */ picklist, /** * Enumeration : multipicklist */ multipicklist, /** * Enumeration : combobox */ combobox, /** * Enumeration : reference */ reference, /** * Enumeration : base64 */ base64, /** * Enumeration : _boolean */ _boolean, /** * Enumeration : currency */ currency, /** * Enumeration : textarea */ textarea, /** * Enumeration : _int */ _int, /** * Enumeration : _double */ _double, /** * Enumeration : percent */ percent, /** * Enumeration : phone */ phone, /** * Enumeration : id */ id, /** * Enumeration : date */ date, /** * Enumeration : datetime */ datetime, /** * Enumeration : time */ time, /** * Enumeration : url */ url, /** * Enumeration : email */ email, /** * Enumeration : encryptedstring */ encryptedstring, /** * Enumeration : datacategorygroupreference */ datacategorygroupreference, /** * Enumeration : location */ location, /** * Enumeration : address */ address, /** * Enumeration : anyType */ anyType, /** * Enumeration : complexvalue */ complexvalue, /** * Enumeration : long */ long, }
2 errors
Error: Failed to compile
Aaron Becker
I am having the same issue and wonder if you have found a solution to this problem?