+ Start a Discussion

Change sanbox url to production url

Hi Friends,

I am developing a simple asp.net application which is pointing to salesforce sanbox and i am using enterprise wsdl downloaded from  sandbox environment.If i want to change this url pointing to production.


 By changing address location in sandbox enterprisewsdl and key value in web.config is sufficient 



1) In enterprise.wsdl change  <soap:address location="https://test.salesforce.com/services/Soap/c/17.0" />

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


2)In web.config >> <add key="SalesForce.enterprise" value="https://test.salesforce.com/services/Soap/c/17.0"/> to

<add key="SalesForce.enterprise" value="https://www.salesforce.com/services/Soap/c/17.0"/> 


Or I need to download a seperate wsdl from production.Please suggest me.


You should be fine.


Just don't forget you're also using test account login details too, so change those to your live account too.