+ Start a Discussion

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.

Please post your query and any related code.
glen sglen s
I received this error as well.  The query is this:

   select username, email, firstName, lastName, phone from user  where username='gshelly@outstart.com'

 ... run with this code:

         qr = pSoapBindingStub.query(queryString);