11-23-2018 11:27 PM
Can someone please clarify the following:
We have two servers , lets call them A and B.
So on server A we have installed Webmap and created a wmps service (2018 Update 1 With Wmps Hotfix)
On server B there is an instance of portal SDK running that consumes the wmps service.
We have registered a domain name lets call it gis.co.za when working internally on the network or externally the the routing has been set up to hit machine name with domain ex A.gis.co.za and B.gis.co.za.
So on server B where portal SDK is running the wmps service has been registered as http://A.gis.co.za/wmps-service/services.svc wich works fine.
Loading the portal the wmps service is loaded displayed and all legend icons displays.
However this is not the case externally.The portal loads fine all geometries is displayed , legend is created but no legend icons displays.
When inspecting the calls one can see the service is called like registered http://A.gis.co.za/ but the icons is trying to be reached with only the machine name http://A...,this will work internally on the network but not externally.
Why is the domain name excluded from the icons location path and how can this be fixed?
Any help will be creatly appreciated.
Solved! Go to Solution.
11-23-2018 11:41 PM
WMPS legend entry icons should have the url based on hostname configured on console administration --> system settings --> msicelaneous
what url do you have set there ??. After changing it you have to restart webmap and generate again capabilities file of WMPS (delete it previously)
11-23-2018 12:35 AM
Thanks for the Info.
Yeah, hostname is set as default ie a...will change this to a.gis.co.za
I will do as suggested and test.
Also on the topic,regarding consumer portal.
I have also used te same starting workspace as the geospatial portal with the wmps serivce registered as a.gis.co.za....
But when running the consumer portal none of the data is displayed , also noticed that in the consumer portal calls for data without the domain name only the machine name, is this also related to the hostname configured in webmap?
11-23-2018 05:23 AM
Still no luck.
Changed the host alias -> enabled an d typed in the host name with domain extention.
Cleared wmps cache , restarted webmap services and get capabilities , rebuild cache and still location points to machine name only,
Again Cleared all wmps cache , browser cache .net cache restarted all services and still points to machine name only.
When opening the cache xml file all url's only point to machine name , when I manually change all xml urls to represent host alias entry and then run portal the legend icons displays begause it it pointing to the correct url.
Any Idea what else I can try?