[mapserver-users] wfs mapscript error

Ahmet Temiz ahmettemiz88 at gmail.com
Mon Sep 21 04:44:52 PDT 2015


hello,

I tested my map file :

"  mapserv
QUERY_STRING="map=geojson1.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=syol3&OUTPUTFORMAT=geojson"
> test1.txt"
 it works.

But when I use same map file in java-mapscript, it gives this error.

" java.lang.UnknownError: msOWSDispatch(): WFS server error. SERVICE=WFS
requested, but WFS support not configured in MapServer "

my java related code :
 OWSRequest req= new  OWSRequest();
                    req.setParameter("SERVICE", "WFS");
                    req.setParameter("VERSION", "1.0.0");
                    req.setParameter("REQUEST", "GetFeature");
                    req.setParameter("TYPENAME", "syol3");
                    req.setParameter("OUTPUTFORMAT","geojson");

Can you tell me what  wrong I did ?

regards

-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu


________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150921/dbdd98c6/attachment.html>


More information about the mapserver-users mailing list