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
abhinav gangradeabhinav gangrade 

endpoint_x in WSDL apex code

Hi,
I have similar endpoint in my wsdl apex generated code, I want to generic it among all environment, pls suggest. Any pseodo code is nice to have.

public String endpoint_x = 'http://YourServer/YourService';

Thanks,
Abhi
Bhanu PartapBhanu Partap
Hi Abhinav,

Use Custom setting or custom labels or Global class with final static variable  for making endpoint global.