+ Start a Discussion
abhinav gangradeabhinav gangrade 

endpoint_x in WSDL apex code

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';

Bhanu PartapBhanu Partap
Hi Abhinav,

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