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
Alex Williams 22Alex Williams 22 

API Not connecting on SforceService?

Hi, 
I am new to the salesforce development scene, I am making a phone app and cannot understand why my code keeps on failing! The error I get goes as follows:
"Unhandled Exception:

System.InvalidOperationException: There was an error reflecting type 'RegApp.SFDC.ExecuteListViewResult'." (that is the whole error).

and the bit of code that it is being triggered on is just the third line of the login script! 
SforceService sfBinding;
LoginResult currentLogin = null;
sfBinding = new SforceService();
I have managed to narrow it down to being the "sfBinding = new SforceService" line.
Some extra information is that this is an iOS app, the device has access to the internet, all settings allow API calls to be transfered from the device and I am using the most up to date version of the Enteprise.wsdl connection.
Any help would be amazing!