SForceAPI : unable to find classes listed on API? (Account, Contact, etc)
- by Firefox
Hi,
API referred : http://www.salesforce.com/us/developer/docs/api/index.htm
subsection: reference-standard objects
Client side details : partner.wsdl, Axis2 1.5,
generated stubs using unpacked option (-u).
I was hoping to find some basic objects like Account, Contact, etc (which were listed on above url) so that I can do something like
- SObject[] sObjArray = queryResult.getRecords();
for(SObject sObj : sObjArray){
Account acc = [Account] sObj;
}
[used above approach successfully in another webservice - 'Zuora']
However, I could not find Account class in the generated classes. I guess I am into wrong approach, but atleast I should be finding the classes listed in the reference API.
Please help.