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
Sneha KavinkarSneha Kavinkar 

Salesforce API integration using .NET

Hello,

I am trying to integrate Salesforce API with my .NET applictaion. Currently I am following the link http://www.codeproject.com/Articles/886855/Salesforce-API-integration-with-ASP-Net-applicatio . For some reason I am not able to get some of the methods mentioned here.
I am not able to get Login method in service reference as mentioned in the link
_loginResult = _sForceRef.login(_username, _password + _tokenID);
Is the function name changed ?Or Do I have to add any additional references?
I have already added reference to Salesforce.Force,Salesforce.Chatter,Salesforce.Common and I am using Visual Studio 2013(If that make any difference)
 
Daniel BallingerDaniel Ballinger

Did you use the Partner or the Enterprise WSDL?

I assume you named your Web Reference "_sForceRef", correct?

At a guess, maybe you didn't add it as a Web Reference. Using a service reference changes the method signatures, such as requiring a LoginScopeHeader.