<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">403 forbidden on your link.<div><br></div><div>Best regards,</div><div>Bart</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-- <br>Bart van den Eijnden<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org</a><br>Expert service straight from the developers.</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Aug 6, 2013, at 1:26 PM, Raffaele Morelli <<a href="mailto:raffaele.morelli@GMAIL.COM">raffaele.morelli@GMAIL.COM</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<div><br></div><div>can't get WMSLegend working for a layer. </div><div>I am working on this web app: <a href="http://cen.isprambiente.it/~rmorelli/openlayers/">http://cen.isprambiente.it/~rmorelli/openlayers/</a></div>
<div><br></div><div>Legend shows up only for overlays layers but not for the others.</div><div><br></div><div>Layers come from a mapserver WMS server, mapfiles CLASS definitions are pretty similar and METADATA parameters also do; GetLegendGraphic requests work as you can test below:</div>
<div><br></div><div>Elettrodotti</div><div><a href="http://cen.isprambiente.it/cgi-bin/elf_italia?SERVICE=WMS&VERSION=1.1.1&REQUEST=getlegendgraphic&FORMAT=image/png&LAYER=linee">http://cen.isprambiente.it/cgi-bin/elf_italia?SERVICE=WMS&VERSION=1.1.1&REQUEST=getlegendgraphic&FORMAT=image/png&LAYER=linee</a></div>
<div><br></div><div>Overlays</div><div><a href="http://cen.isprambiente.it/cgi-bin/rf_indicatori?SERVICE=WMS&VERSION=1.1.1&REQUEST=getlegendgraphic&FORMAT=image/png&LAYER=n_sost_regione">http://cen.isprambiente.it/cgi-bin/rf_indicatori?SERVICE=WMS&VERSION=1.1.1&REQUEST=getlegendgraphic&FORMAT=image/png&LAYER=n_sost_regione</a></div>
<div><br></div><div>Any hints?</div><div><br></div><div>Regards</div><div>/raffaele</div><div><br></div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@geoext.org">Users@geoext.org</a><br>http://www.geoext.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></body></html>