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
jaguargjaguarg 

API

Hi,

I would like to test WebService (I have a got a developer account and an application under development) 
I have successfully generated the entreprise wsdl - The generated wsdl shows the following endpoint

<soap:address location="https://www.salesforce.com/services/Soap/c/18.0"/>

 

This is the error I get when I attempt to login using the above location:

 

 

com.sforce.soap.enterprise.LoginFault: INVALID_LOGIN: Invalid username, password, security token; or user locked out

 

 

  I guess the reason is that this is the production URL? What would be endpoint for development?


Thanks
--
jaguarg

Best Answer chosen by Admin (Salesforce Developers) 
kwukwu

Did you make sure to include the security token in your password?

 

password = [password][security token]

 

You can get a security token by logging into your org, going to Setup > My Personal Information.

All Answers

kwukwu

Did you make sure to include the security token in your password?

 

password = [password][security token]

 

You can get a security token by logging into your org, going to Setup > My Personal Information.

This was selected as the best answer
jaguargjaguarg

yep - that was the issue. 

 

Thx kwu

 

--

jaguarg

kwukwu
No problem! Happy to help.