[mapserver-users] wfs mapscript error

2015-09-21 Thread Ahmet Temiz
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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] mapscript problem

2015-09-21 Thread Ahmet Temiz
hello

When I upgrade mapserver rom 6.0 to 7.0.

I encountered a new error in mapscrip-java:

"  Caused by: java.lang.UnknownError: loadLayer(): Unknown identifier.
Annotation Layers have been removed. To obtain same functionality, use a
layer with label->styles and no class->styles
"
​Can you tell me how this happened ?
How can I solve the problem ?

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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users