Vitali Diatchkov wrote: > We have some problems with MapServer as a WFS server. > Hi Vitali - I am not aware of MapServer WFS Post being very good. At one point uDig has a table showing what WFS worked and what did not - MapServer was usually in the non working column based on a different reason each time.
Specifically (in MapServer 4.5 maybe?) they screwed up on one of the spatial opperands the spec said INTERSECTS and they said INTERSECT (no "S") or something. Check the capabilities document and read what spatial support mapserver is telling you it supports. Does it say INTERSECTS? I think the specification was poorly written INTERSECTS in a the GetCapabiities indicates that INTERSECT may be used in a request or some such confusion. Try your query by hand (using the GeoServer Demo Request tool if you have to - you can point it at MapServer) and delete elements from your query until you get something MapServer likes... and then go looking through there bug tracker. You may actually want to start by looking in their bug tracker? GeoTools only supports GML2.2 (ie WFS 1.0) at this time. Jody > > Problems concern FILTER encoding. > > This is a request: > > 12-Feb-2007 17:08:35 org.geotools.data.wfs.LogWriterDecorator flush > FINE: Output: <?xml version="1.0" encoding="UTF-8"?> > <GetFeature xmlns="http://www.opengis.net/wfs" > xmlns:gml="http://www.opengis.net/gml" > xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0" service="WFS" > outputFormat="GML2"><Query > typeName="TG_OMATIE"><ogc:PropertyName>msGeometry</ogc:PropertyName> > <ogc:Filter><ogc:BBOX><ogc:PropertyName>msGeometry</ogc:PropertyName> > <gml:Box><gml:coordinates decimal="." cs="," ts=" > ">3669974.159827543,7034913.012544877 > 3670967.818494744,7035739.51367928</gml:coordinates> > </gml:Box> > </ogc:BBOX> > </ogc:Filter> > </Query> > </GetFeature> > > > And an exception is thrown by MapServer. > > 12-Feb-2007 17:08:35 org.geotools.data.wfs.LogWriterDecorator flush > FINE: Output: > 12-Feb-2007 17:08:35 org.geotools.data.wfs.LogWriterDecorator flush > FINE: Output: > 12-Feb-2007 17:08:35 org.geotools.data.wfs.LogWriterDecorator flush > FINE: Output: > 12-Feb-2007 17:08:35 org.geotools.data.wfs.LogWriterDecorator flush > FINE: Output: > 12-Feb-2007 17:08:35 org.geotools.data.wfs.LogWriterDecorator close > FINE: Output: > 12-Feb-2007 17:08:35 org.geotools.data.wfs.LogWriterDecorator close > FINE: Output: > 12-Feb-2007 17:08:36 org.geotools.xml.XMLSAXHandler processException > SEVERE: msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER > in GetFeature : <Filter> > <BBOX> > <PropertyName>msGeometry</PropertyName> > <Box> > <coordinates decimal="." cs="," ts=" > ">3669974.159827543,7034913.012544877 > 3670967.818494744,7035739.51367928</coordinates> > </Box> > </BBOX> > </Filter> > org.geotools.xml.filter.FilterComplexTypes$ServiceExceptionType.getValue(Fil > terComplexTypes.java:1669) > > org.geotools.xml.handlers.ComplexElementHandler.endElement(ComplexElementHan > dler.java:156) > org.geotools.xml.XMLSAXHandler.endElement(XMLSAXHandler.java:248) > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown > Source) > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc > her.dispatch(Unknown Source) > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > javax.xml.parsers.SAXParser.parse(SAXParser.java:375) > javax.xml.parsers.SAXParser.parse(SAXParser.java:176) > org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140) > org.geotools.data.wfs.WFSFeatureReader.run(WFSFeatureReader.java:126) > > > What is the currently supported version of GML in WFS plugin in Geotools > 2.2.x branch being used in UDIG 1.1 ? > > The version of MapServer is 4.8 > May be it is an issues related to MapServer's mailing list? > > Any help!! > > > Regards , Vitali. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
