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
Shenwei LiuShenwei Liu 

Calling SforceService Login failed for API version 32

Calling the SforceService Login method is fine using my SF account and password plus the security token for previous versions of the API, such as using the Enterprise WSDL having this line: <soap:address location="https://login.salesforce.com/services/Soap/c/21.0" />.

I downloaded the new Enterprise WSDL which is the version 32 with the login address "https://login.salesforce.com/services/Soap/c/32.0". Calling the API login method using the same account and password plus token failed. The error message is "INVALID_LOGIN: Invalid username, password, security token; or user locked out."

I'm using the C# code to access the API.

Any help is appreciated. Thanks.
Shenwei LiuShenwei Liu
This issue has been resolved. It was somehow pointed to the previous connection.