I'm currently trying to get a WMSLayer to display a map layer with a style applied to it. No one ever responded to this thread, so I wanted to see if anyone has used the method described above with success.
Is the proxy totally necessary? It seems like it's just there to insert the style name into the URL. Does the ArcGIS api not provide any method for inserting the style name into the URL? I see that "styleName" is an attribute of the WMSLayer component, but it doesn't seem to actually set the STYLES parameter within the generated map URL. If "styleName" doesn't set the STYLE parameter, then what does it do?