Sorry for disturbing again but I&#39;ve just made a lapsus-calami and I have to correct myself.<div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; ">OpenLayers.Layer.WMS.Post was sending POST (not OpenLayers.Layer.WMS)</span></div>
<div><font class="Apple-style-span" face="Verdana, Arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="Verdana, Arial, sans-serif">Regards!</font></div><div><font class="Apple-style-span" face="Verdana, Arial, sans-serif"><br>
</font></div><div><br><div class="gmail_quote">On Sun, Jun 5, 2011 at 10:48 PM, Sasha Milenkovic <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=6443167&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
That&#39;s it!<div>With OL 2.11-rc1, the code works as expected. It sends POST request depending on the request string length.</div><div><div><br></div><div>Previously, I was using OL 2.10 and this problem was confusing me. (On the other hand, <span style="font-family:Verdana, Arial, sans-serif;font-size:13px">OpenLayers.Layer.WMS was sending POST, as expected ?!<span style="font-family:arial;font-size:small">)</span></span></div>

<div><br></div><div>Hopefully, this problem belongs to history, now.</div><div><br></div><div>Thank You very much!</div><div><br></div><div>Regards!</div><div><br><div class="gmail_quote"><div class="im">On Sat, Jun 4, 2011 at 3:44 PM, Andreas Hocevar-2 [via OSGeo.org] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=6443167&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div>

        Maybe it&#39;s just that your OpenLayers version is too old and POST
<br>requests are not yet supported. Try upgrading to 2.11-rc1.
<br><br>Andreas.
<br><br></div></div><div class="im"><div><div></div><div>On Tue, May 31, 2011 at 11:04 AM, sasamil &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=6439189&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:
</div></div></div><div><div class="im"><div><div></div><div><div class='shrinkable-quote'><br>&gt; This is my code (ms4w-mapserver):
<br>&gt;
<br>&gt;    wmsLayer = new OpenLayers.Layer.WMS(&quot;Layer WMS&quot;,
<br>&gt; &quot;<a href="http://mywmsserver.php?SERVICE=WMS&amp;" rel="nofollow" link="external" target="_blank">http://mywmsserver.php?SERVICE=WMS&amp;</a>&quot;,
<br>&gt;                            {layers: &quot;abcd&quot;, transparent: true},
<br>&gt;                            {isBaseLayer: false, visibility: false,
<br>&gt; tileOptions: {maxGetUrlLength: 2048}});
<br>&gt;    map.addLayer(wmsLayer);
<br>&gt;
<br>&gt; It does work but it sends GET request ?!
<br>&gt;
<br>&gt; When I change maxGetUrlLength to be whatever... (for example -
<br>&gt; maxGetUrlLength: 8) everything is the same... It works but there is no POST
<br>&gt; request. GET request is being sent, anyway?!
<br>&gt;
<br>&gt; Can somebody help? That what I really need is sending a POST request.
<br>&gt;
<br>&gt;
<br>&gt; --
<br>&gt; View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6421937.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6421937.html</a></div>

&gt; Sent from the OpenLayers Users mailing list archive at Nabble.com.
<br>&gt; _______________________________________________
<br>&gt; Users mailing list
<br></div></div></div>&gt; <a href="http://user/SendEmail.jtp?type=node&amp;node=6439189&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><div class="im"><div>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>&gt;
</div></div></div><br><br><div><div class="im"><br>-- 
<br>Andreas Hocevar
<br>OpenGeo - <a href="http://opengeo.org/" rel="nofollow" link="external" target="_blank">http://opengeo.org/</a><br>Expert service straight from the developers.
<br></div>_______________________________________________
<br>Users mailing list
<br></div><a href="http://user/SendEmail.jtp?type=node&amp;node=6439189&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><div class="im"><div><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
        
        <br>
        <br>
        </div></div><div class="im"><hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6439189.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6439189.html</a>
        </div>
        </div><div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from Apply thematic in WMS layer using too long sld, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
        </div></blockquote></div><br><br clear="all"><br>-- <br>Macte animo!<br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Macte animo!<br>
</div>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6443167.html">Re: Apply thematic in WMS layer using too long sld</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>