[mapserver-users] Allow request in http and https

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Tue May 2 07:38:38 PDT 2017


Hi,

By looking at the WMS 1.3.0 standard OnlineResource is is sequence and I can't see anywhere maxOccurs="unbounded".  I am not sure but doesn't it mean that there must be exactly one OnlineResource?

I used https://www.w3schools.com/xml/el_sequence.asp as reference and snippet from WMS 1.3.0 GetCapabilities schema is here:

<element name="Get">
<annotation>
<documentation>
The URL prefix for the HTTP "Get" request method.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="wms:OnlineResource"/>
</sequence>
</complexType>
</element>

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Andrea Peri wrote:
[mapserver-users] Allow request in http and https

Hi,
I need to set a mapserver wms to responde both on an http url and on an https url.

I try seting two time the
wms_onlineresource value:

      "wms_onlineresource" "http://my-server/...."
      "wms_onlineresource" "https://my-server/...."

But the getcapabilites response oonly the second value.

Is possible to set two url in the wms_onlineresource  ?

Many thx.


--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the MapServer-users mailing list