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
ali bouhaddouali bouhaddou 

Can't make connection from Talend to my Salesforce sandbox org

Hi everyone,
I'm struggling at connecting my sandbox org to Talend open studio.
I've generated the token and followed all the instructions for the login. I've also generated XML file related to WDSL copied the URL on the bottom:https://test.salesforce.com/services/Soap/c/35.0/0DF1100000001VU
Through forums I've noticed that it's maybe related to API and WDSL.
Details of the error: Connection failure. You must change the connection settings. No operation available for request {urn:partner.soap.sforce.com}login
I'll really appreciate your help
Ali

Best Answer chosen by ali bouhaddou
ali bouhaddouali bouhaddou
Hi Daniel,
Finally I've succeeded ! I've reset my user password on SF and it works !
Thank you for your help
Ali

All Answers

Daniel BallingerDaniel Ballinger
The error message makes it look like TalenD is trying to make a login call to the Partner API. However, the URL you have provided is for the Enterprise API. 

E.g. 
This is the URL for a Sandbox Enterprise API web service. Note the /c/ in the URL.
https://test.salesforce.com/services/Soap/c/35.0/0DF1100000001VU

This is the URL for a Sandbox Partner API web service. Note the /u/ in the URL.
https://test.salesforce.com/services/Soap/u/35.0/0DF1100000001VU

Try changing the /c/ to a /u/.

The Partner API is a generic web service that can work will all API enabled orgs. The Enterprise API is a version that is specifically tailored to the org that it was generated from at that point in time.

Failing that, are you using a custom "My Domain"?
ali bouhaddouali bouhaddou
Hi Daniel,

Thank you for your reactivity and thank you for your explaination !

Well, I do use the enterprise url "https://test.salesforce.com/services/Soap/c/35.0/0DF1100000001VU" and it still doesn't work... screenshot as proof.
No, I'm not using a custom "My domain".

How can I config oAuth2 protocol to get connected? Maybe something goes wrong between SOAP protocol and Sandbox org ?!

Regards,
Ali

Connection failure. You must change the connection settings. No operation available for request {urn:partner.soap.sforce.com}login
Daniel BallingerDaniel Ballinger
Sorry, maybe I wasn't clear. 

Try use this Partner API web service URL:
 
https://test.salesforce.com/services/Soap/u/35.0/0DF1100000001VU


 
ali bouhaddouali bouhaddou
Hi Daniel,
Finally I've succeeded ! I've reset my user password on SF and it works !
Thank you for your help
Ali
This was selected as the best answer
Ravi KamalendiranRavi Kamalendiran

I Updated my URL to 

https://test.salesforce.com/services/Soap/u/38.0/0DF7E0000004CTS

And i am now getting the following error

Connection failure. You must change the connection settings.
  org.apache.axis2.databinding.ADBException: Unexpected subelement {urn:fault.partner.soap.sforce.com}upgradeURL

How ever connecting to the prod  version of salesforce doesnt throw any errors. 
Can i get some help here please?

Thanks
Ravi

Praveen Krishna ReddyPraveen Krishna Reddy
I too had same issue but followed Dans suggestion and worked without password reset.
Steps I did, changed url from https://www.salesforce.com to https://test.salesforce.com resolved my problem.

Once again thank you Dan.