I have created a WMS with several legend entries and I have added the WMS service to a Geospatial Portal instance. All the WMS layers are displayed correctly. I have since modified the style for a legend entry, the new WMS map is displayed correctly, however that legend icon of the modified legend entry is not refreshed to the new style.
I have reset IIS, GeoMedia WebMap service as well as Geospatial Capabilities service, however, the legend image is still not refreshed to the new style.
Delete all the files in the C:\WebMap Publisher Projects\<YourWMS>\LegendImages folder and restart webmap service and IIS.