Estoy tratando de recuperar información de Salesforce en mi aplicación. Después de iniciar sesión, tengo un
EnterpriseConnection connectionObjeto. cuando llamo
connection.describeSObject("Project__c")entonces obtuve el resultado. El problema es cuando trato de hacer
connection.query("Select id from Project__C")entonces tengo
java.lang.ClassNotFoundException: com.sforce.soap.enterprise.sobject.Project__c¿Qué me estoy perdiendo?
En mi pom.xml he agregado
<artifactId>cxf-common-utilities</artifactId> <version>2.5.11</version> <artifactId>cxf-tools-common</artifactId> <version>3.5.0</version> <artifactId>cxf-rt-frontend-simple</artifactId> <version>3.5.0</version> <artifactId>cxf-rt-transports-http</artifactId> <version>3.5.0</version> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>3.5.0</version>