Can you please send us the php file and the fml file in the .model folder of your project.
Thanks for uploading these files. I was checking them out and noticed that the fml file is in a state in which it should not be. Once I make the relevant change in the fml file, refresh starts working fine.
Can you please describe the edits made to the PHP file after which you started facing the refresh issue?
In the meanwhile, to proceed with your work please change line 52 in the .fml file from
Thanks for your help. I can't really remember the edits I made to the php file right before I started facing the refresh issue. I think I wanted to create another function by copying the old one. I did relevant changes to the new one, but I forgot to change the name. So I had two function with the same name. After an error in Flash Builder I fixed the bug, but the ServiceRefreshJob problem continued. I hope I am not wrong.
Back to the problem. Meanwhile I was desperately trying to convince Flash Builder to detect my new function and somehow (Data services-> Switch view) I managed to do it. However, the ServiceRefreshJob still persists. Every time I save my PHP file I get 'ServiceRefreshJob has encountered a problem.' error. Refreshing via refresh doesn't throw any error, but it doesn't work. I did the changes you recommended (l 46 in current fml file), restarted Flash Builder, but I am still getting the same error. Maybe there is (also) something else wrong with my new files. I am attaching the latest fml file together with PHP file. Data services and flex application is working fine.
I have no idea about the fml file, but are you sure that this was wrong <item name="inputParams">opaque,opaque,opaque</item>? Function 'getAllFeatures' takes three arguments and I can't see any reason why <item name="inputParams">opaque,opaque</item> is better.