I made a gp tool using the model builder. the tool is making an intersection between a point layer and a line layer.
I published the gp tool to my GIS server and I want to use it in WAB. So I from the GP widget I chose the GP tool in my server.
when I executed the tool I get no results and in the browser console I get this error:
MLHttpRequest cannot load http://mapateva.org.il/arcgis/rest/services/Tools/SelectingRoadKillsByRoadNumber/GPServer/Select%20R.... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://deshe.maps.arcgis.com' is therefore not allowed access.
what do I need to do?