Hi all,
I am a novice to GIS so please pardon me for any terms misuse or trivial question!
if I want to request a map dynamically using HTTP-POST method from a servlet.
do the parameters must be put in an XML format or how…?
many thanks,
Hi all,
I am a novice to GIS so please pardon me for any terms misuse or trivial question!
if I want to request a map dynamically using HTTP-POST method from a servlet.
do the parameters must be put in an XML format or how…?
many thanks,
fadi maali ha scritto:
Hi all,
I am a novice to GIS so please pardon me for any terms misuse or trivial
question!
if I want to request a map dynamically using HTTP-POST method from a
servlet.
do the parameters must be put in an XML format or how...?
You have both choices.
If you set the mime type to application/xml you can post using an XML
string that respects the WMS standard (SLD extensions of it in particular).
If you set the mime type as form urlencoded then
you can do a post with the same parameters as a GET request (just without the size limits of a real GET request). Beware this one is
a Geoserver specific extension, it won't work with other servers
(and it's not widely used, too).
Cheers
Andrea