Can anyone supply me with a OGC WMS url that actually works with the WAB Developer Edition AddData widget (for the manual url addition)? The example provided by esri for the widget doesn't work nor do others I have tried. I consistently get the message "Failed to execute 'open' on 'XMLHttpRequest': Invalid URL."
Solved! Go to Solution.
I was able to add the sample URL to the map.
I did try adding another one (https://okmaps.org/geoserver/wms?) and while it added the layer into the Layer List, none of the sub-layer would actually draw.
I was able to add the sample URL to the map.
I did try adding another one (https://okmaps.org/geoserver/wms?) and while it added the layer into the Layer List, none of the sub-layer would actually draw.
Thanks very much for letting me know -- when I use that example url this is the result I get. A big problem for me is that my organization's content security policies block so much that it is difficult to implement this tool or troubleshoot. Perhaps that is what is causing the problem.
http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?service=WMS&request=GetCapabilities
@KenBuja Did you have to set up a proxy to allow that service into your application? If so, did you use the WAB config.json and proxy.js to accomplish that? The reason I ask is clarified in this question I also posted recently:
Yes, I did configure the conf.json to use a proxy. We are using the proxy.ashx version
"httpProxy": {
"useProxy": true,
"alwaysUseProxy": false,
"url": "https://ourserver/proxy.ashx",
"rules": []
},
OK, thanks, I will give that setup a try.