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
K_V_RK_V_R 

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.

AlwaysConfusedAlwaysConfused

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.