Re: [mapserver-users] POST for WMS - supported

2015-03-05 Thread Eichner, Andreas - SID
 In Section 9.2.4 of the MapServer v6.0 Manual, under OGC Support and
 Configuration / WMS Server / WMS 1.3.0 Support / Some Missing features it
 lists WMS 1.3.0 Post request should be an XML document containing the
 different operations and parameters.  (Also appears in the current
 version
 documentation v7 beta, although page hasn't been updated since 2013.)
 
 - is this suggesting that POST is not supported?
 

Nope. Sending the KVP request with mimetype application/x-www-form-urlencoded 
via POST is fully supported. Simple example:

# wget -d -O- --post-data=service=WMSrequest=GetCapabilities 
http://host/cgi-bin/mapserv?map=/path/to/mapfile.map
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] POST for WMS - supported

2015-03-04 Thread bte...@gmail.com
In Section 9.2.4 of the MapServer v6.0 Manual, under OGC Support and
Configuration / WMS Server / WMS 1.3.0 Support / Some Missing features it
lists WMS 1.3.0 Post request should be an XML document containing the
different operations and parameters.  (Also appears in the current version
documentation v7 beta, although page hasn't been updated since 2013.)

- is this suggesting that POST is not supported?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/POST-for-WMS-supported-tp5191349p5191552.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] POST for WMS - supported

2015-03-03 Thread bte...@gmail.com
Hi all,
Are HTTP POST requests supported for WMS GetMap requests?  I realise that
requests including an SLD are supported... but what about for requests not
using an SLD?

I'm using MapServer v6.0.3.  I've tried to code up the layer name, format,
bounds etc as a POSTED request and can't get it to work.  I realise it's
just as easy to use the GET request, but I'm writing a short library to
enable other apps/developers to interact with the MapServer and because some
requests will need SLD and some won't, I thought I'd minimise the number of
functions by just having a POST version for GetMap rather than a GET version
as well.

Regards, Bill

My URL looks like:
http://pucu-gap-02.networks.in.telstra.com.au/cgi-bin/mapserv?map=/volumes/data/mapconfig/globaleye/geinfrastructuredata.map;

My request body looks like below:


The error reported back:


MapServer logs the following error:


Note: the equivalent HTTP GET request works fine - URL:

http://pucu-gap-02.networks.in.telstra.com.au/cgi-bin/mapserv?map=/volumes/data/mapconfig/globaleye/geinfrastructuredata.mapSERVICE=WMSVERSION=1.3.0REQUEST=GetMapLAYERS=ExchSrvAreaBndCRS=EPSG:4283BBOX=-38.015224,144.9277075,-37.69606,145.2468715WIDTH=800HEIGHT=600FORMAT=image/pngTRANSPARENT=FALSE



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/POST-for-WMS-supported-tp5191349.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users