November Happy Hour will be moved to Thursday December 5th.

Using LocalizationService in a web service context

Vote:
 

Hi,

 

I am trying to get a list of all countries using the LocalizationService.Current in a WCF web service context. I need the country list exactly like it is in Epi's resources. I am using the following:

LocalizationService.Current.GetAllStrings("/shell/cms/visitorgroups/criteria/geographiclocation/countries/");

    

However, this does not return any data for me and Im wondering if I am missing some configuration or whether I have the wrong approach on this. Any help regarding this would be appreciated.

#82305
Mar 10, 2014 14:33
Vote:
 

Assuming that WCF service call is similar to Ajax context call, here could be some ideas: http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=81183

#82307
Mar 10, 2014 15:28
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.