SForceAPI : unable to find classes listed on API? (Account, Contact, etc)

Posted by Firefox on Stack Overflow See other posts from Stack Overflow or by Firefox
Published on 2010-12-27T06:34:28Z Indexed on 2010/12/27 18:54 UTC
Read the original article Hit count: 261

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.

© Stack Overflow or respective owner

Related posts about axis2

Related posts about salesforce