wfs mapscript error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

wfs mapscript error

orkun
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

_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users