+ Start a Discussion
vjsvjs 

Changes to NA1 service instance

Hi ,

 

Salesforce is augmenting the current NA1 instance with an additional instance – NA13 , and we are using the apex wsdl which has the absolute url.can i use the relative url in the apex wsdl instead of using the absolute url?

 

Best Answer chosen by Admin (Salesforce Developers) 
AmitSahuAmitSahu

Ahh I got you know..

 

You have to make the changes manually. If you are using the WSDL from the local machine, then you have to change the server instance in the WSDL file manually.

All Answers

AmitSahuAmitSahu

Asa best practice .. try to avoide hard coded values in your code as much as you can ...

 

URL.getSalesforceBaseUrl().toExternalForm()

vjsvjs

Thanks for the response...I have not hard coded it in the class, when i generate the apex wsdl from the class the soap location has a hardcoded reference.

AmitSahuAmitSahu

Ahh I got you know..

 

You have to make the changes manually. If you are using the WSDL from the local machine, then you have to change the server instance in the WSDL file manually.

This was selected as the best answer