Hi all,
I am geting crazy trying to make a WFS request trough GET. When I do
it trough POST it works fine, but when I do it trough GET i get not
records
This is the request I do with XML:
<wfs:GetFeature service="WFS" version="1.0.0"
outputFormat="GML2"
xmlns:tdwg="http://www.openplans.org/topp"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">
<wfs:Query typeName="tdwg:biorecord_locations">
<wfs:maxFeatures>5</wfs:maxFeatures>
<wfs:PropertyName>tdwg:num_records</wfs:PropertyName>
<wfs:PropertyName>tdwg:num_taxon</wfs:PropertyName>
<wfs:PropertyName>tdwg:num_providers</wfs:PropertyName>
<wfs:PropertyName>tdwg:the_geom</wfs:PropertyName>
<ogc:Filter>
<ogc:And>
<ogc:BBOX>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coordinates>-75.102613,40.212597
-74.961859,41.512517</gml:coordinates>
</gml:Box>
</ogc:BBOX>
<ogc:PropertyIsLike wildCard="*" singleChar="-" escape="\">
<ogc:PropertyName>taxon_list</ogc:PropertyName>
<ogc:Literal>*Agelaius phoeniceus*</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:And>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
And I get back features.
This is what I do through GET:
I believe they are the same. And I have done with previous versions of
Geoserver filters like this... is there anything I am missing
(probably).
Thanks in advance.
Javier.