How can Servoy method be executed (and return values collected) from NG Services?
At NG Components, there are handlers for this purpose, but handlers can't be used within NG Services?
https://wiki.servoy.com/display/public/DOCS/Angular+servicesHowever, as there is no UI, there is no support for handlers.
Have tried couple of techniques documented below
https://wiki.servoy.com/pages/releaseview.action?pageId=1869552
but even for the closest one, getting NullPointerException referring to empty scope in this file around line 186
https://github.com/Servoy/servoy-client/blob/master/servoy_ngclient/src/com/servoy/j2db/server/ngclient/scripting/WebServiceScriptable.java
As a work around, built this through WebComponent that has empty .html, and it's placed on form in kind of hidden mode
Advise please
Regards
PS.
similar post: already tried to put function within a model, than initialized it in Servoy, but getting error that it's not properly recognized
http://forum.servoy.com/viewtopic.php?f=69&t=21368