I've read how with Surf webscript controllers can call web services from Javascript code using remote.connect().
I want to be able to call an external non-alfresco REST web service from a rule applied to a folder that is based on a Javascript action.
I'm not sure, but it seems like using the Surf framework remote.connect() will not work with rules, since rules work with both the Explorer and Share clients. Is that right?
If Surf remote.connect() isn't available, then what is a good approach for calling Web services from Javascript action scripts?
Thanks