+ 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.