You need to sign in to do that
Don't have an account?
Apex_Learner
Domain problem
We recently changed the Domain setting to prevent logins from "login.salesforce.com". Now ANT isn't working for us (neither retrieve or deploy)
Are the only possible values of SF.SERVERURL in an SF ANT scenario either "login.salesforce.com" or "test.salesforce.com" ?
How do you deploy to a production org if "my domain" is used and logins from "login.salesforce.com" are prevented?
Entering "my domain" for the SF.SERVERURL value results in the error: "....ID found in SessionHeader: Illegal Session"
(this was working fine on the same server before logins from login.salesforce.com were prevented)
Are the only possible values of SF.SERVERURL in an SF ANT scenario either "login.salesforce.com" or "test.salesforce.com" ?
How do you deploy to a production org if "my domain" is used and logins from "login.salesforce.com" are prevented?
Entering "my domain" for the SF.SERVERURL value results in the error: "....ID found in SessionHeader: Illegal Session"
(this was working fine on the same server before logins from login.salesforce.com were prevented)
Check this threads
http://salesforce.stackexchange.com/questions/19435/my-domain-and-api-endpoints
https://help.salesforce.com/HTViewHelpDoc?id=domain_name_app_url_changes.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=domain_name_app_url_changes.htm&language=en_US)
Do you know if the ANT "sf.serverurl" property can contain a "my domain" value? I would think so, but I cannot get it to work. Also I can't find documentation in which SF says the value can be anything other than "login.salesforce.com" or "test.salesforce.com".
I also have a SOAP integration for this server. After blocking login.salesforce.com, I had to regenerate the WSDL files and edit all references to "na21" and "login.salesforce.com" to use "my domain". The SOAP integration then worked.
However I have no idea how to similarly change the endpoints for SF's ANT tool though (?) It appears that SF's ANT is hardcoded to use login or test.salesforce.com?