Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Salesforce by (11.9k points)

So, I'm creating a salesforce app the currently hits a sandbox account just fine.

Our production and sandbox accounts are exactly the same in terms of fields.

Now, when I created my web reference in visual studio, a URL was added to the config file for test.salesforce.com , this url is also in the WSDL.

Can I change the URL in the config for production and have everything be okay? I have read conflicting idea on this.

1 Answer

0 votes
by (32.1k points)
If the environments are kept in sync, the only difference in the WSDLs is actually the service URL.So, you can change this in the properties or override it at runtime using the URL property in order to switch between both of these.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 23, 2020 in Salesforce by Sudhir_1997 (55.6k points)

Browse Categories

...