Hi,
I'm trying to consume an ASP.net Web service, and found a utility called WSDL2ObjC. Now I'm trying to use it, and basic use is working (asking for simple data types, such as booleans or strings), but now I'm requesting an array of the "EmailServiceSvc_Email" structure, which contains "subject", "from" and "message" properties.
The app won't compile, with the message above, and here's the code on wich it gets stuck:
EmailServiceSvc_Email * eml = (EmailServiceSvc_Email *) arrEmails[[indexPath row]];
This is the explanation of the variables:
- eml : the new variable I'm trying to get out of arrEmails.
- arrEmails: an NSMutableArray of the EmailServiceSvc_Email object
- indexPath: the indexPath parameter, this is from the cellForRowAtIndexPath function.
As you can see probably, I want to display all the "subject"s from the "EmailServiceSvc_Email" structure in a TableView, on the iPhone.