Select to view content in your preferred language

WMS service as https not http

1476
6
05-11-2018 11:21 AM
JasonThomas5
Emerging Contributor

I built a ArcGIS 10.4 server and have published maps. I need both arcgis json and wms xml formats for my application. My problem is, when i publish as a service and enable the wms capability, it creates my arcgis json as an https public facing site, but the wms builds as http and i can not access my wms xml from my application. If i use debugging tools to edit the urls with https, the cache loads. What the heck am i missing to make the wms build as https? Thanks!! Jason

0 Kudos
6 Replies
JoshuaBixby
MVP Esteemed Contributor

I seem to recall running into a similar situation back around 10.3.x.  When you connect to publish the service, are you using an HTTP or HTTPS connection string to the server?

0 Kudos
JasonThomas5
Emerging Contributor

https

i even deleted my connection and reconnected intentionally as secure just to make sure, deleted my shares and republished. same result. the links for json in my browser publicly are https and the ones for wms are http. its frustrating

0 Kudos
JasonThomas5
Emerging Contributor

that is my connection on secure port 6443

0 Kudos
JasonThomas5
Emerging Contributor

Ok, so comparing to an old 10.0 server, there was a field in the wms capabilities properties tab for onlineresource, and thats where you could put it. the 10.4 doesnt have that field and you cant seem to be able to add a field, unless i'm missing something.

0 Kudos
JasonThomas5
Emerging Contributor

connected https: i was able to edit the onlineresource field in arcgis manager and set it to the https url, but even still it only outputs http.

0 Kudos
JasonThomas5
Emerging Contributor

youre right, found this on a 10.3 issues document

NIM084178 Modifying the 'online resource' URL in the WMS (Web Map Service) capabilities form does not modify the online resource element in the GetCapabilities file.

0 Kudos