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
iBr0theriBr0ther 

Invalid element in com.sforce.soap.enterprise.sobject.SObject - type

Good day every one. i am the newest of saleforce. i've got a problem that cant be resolved and need help from all of you. my problem is:
when i try to excecute query for queryresult i got the following msg:
"Invalid element in com.sforce.soap.enterprise.sobject.SObject - type"
how may i  resovle this error.!
pls.....help me.:mansad:

PoorMan.
DevAngelDevAngel
You may be using the wrong endpoint.  The end of the url endpoint should be /c/11.1
magdamagda
if i try to change with a /c/11.1 i have an exception by creating this project:

SalesforceConnectionException: Check authEndpoint. It must contain '/services/Soap/u/'. authEndpoint specified https://www.salesforce.com/services/Soap/c/11.1

Check authEndpoint. It must contain '/services/Soap/u/'. authEndpoint specified https://www.salesforce.com/services/Soap/c/11.1

  com.salesforce.toolkit.ui.wizards.project.ProjectUpdateOperation.execute (ProjectUpdateOperation.java 113)


I think it is trying to connect with partner connection. How can I change that. I have to work with Entreprise connection


Message Edited by magda on 12-12-2007 11:37 PM
jacksonp2008jacksonp2008

Did you ever get an answer or figure it out?  I have the same issue with authEndpoint...

jacksonp2008jacksonp2008

Got it to work by hardcoding to   "https://login.salesforce.com/services/Soap/c/22.0"

 

Found in this reference:  http://docs.rhomobile.com/rhoconnect/adapters-crm