Hi There,
There is actually no support of wms client post request in mapserver.
Later,
J. Parapar wrote:
Frank,
Thanks for the answer. My problem is with the layers in the client
mapfile. We have several wms layers but i do not know how to indicate
to MapServer to make POST requests to the WMS server (instead of GET
requests). I have found the wfs_request_method parameter but I did not
find a "wms_request_method".
I have made some tests and, as WMS Server, MapServer do supports
URL-encoded POST request.
Thanks again,
Jorge
2005/11/10, Frank Warmerdam <[EMAIL PROTECTED]>:
On 11/10/05, J. Parapar <[EMAIL PROTECTED]> wrote:
Hi all
Is it possible to set the WMS client request method to POST? We have
a layer with a long SLD_BODY parameter and the web server says that
the request is too long.
Jorge,
I think POST WMS (and other cgi style requests) have been
supported by MapServer for a long time. I will note that it was
only in March 2004 that the code was modified to support
posts without CONTENT_LENGTH, but if you are doing this
from a browser that should not be an issue.
This is really one of the cases where I would encourage you to
"just try it" before asking. If if doesn't work then you can point
out your problem on the list.
When I was at PCI I used to get questions all the time about
whether the software supported a particular format. My answer
was, try "File->Open" on it, did that work?
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: [EMAIL PROTECTED]
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------