Adding a https WMS OGC Service

278
0
09-01-2020 07:54 PM
JasonBatory1
New Contributor II

We have a web map with layers added from a https WMS OGC Service, let's call it:

https://foo.bar/wms

However, looking at the JSON for this web map shows that the "s" is being dropped from the http in the OperationalLayers definition. Viewing the web map requests in the web browser devtools also confirms that the requests are being made with http instead of https.

Is this something to do with the WMS service itself or is there a reason why AGOL does this?

The JSON (part of) contains the following:

"operationalLayers": [
{
"id": "wms_2001",
"url": "https://foo.bar/wms",  <-------- URL is correct as I added it
"visibility": false,
"visibleLayers": [
"layer111"
],
"opacity": 1,
"title": "TITLE",
"version": "1.3.0",
"mapUrl": "http://foo.bar/wms",  <-------- URL has changed
"featureInfoUrl": "http://foo.bar/wms",  <-------- URL has changed
"featureInfoFormat": "text/plain",
"layers": [
{
"name": "layer111",
"title": "layer111",
"legendUrl": "http://foo.bar/wms?request=image...  <-------- URL has changed

...

...

0 Kudos
0 Replies