WFS request returning "NoApplicableCode" and Table not found.

2890
0
05-09-2013 09:08 PM
Labels (1)
PhilScadden
New Contributor II
If I do a WMS query on this table it works: eg
http://geoportal.doc.govt.nz/arcgis/services/GeoportalServices/DOC_Public_Conservation_Areas/MapServ...

However, if I POST
http://geoportal.doc.govt.nz/arcgis/services/GeoportalServices/DOC_Public_Conservation_Areas/MapServ...
with post data
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<wfs:Query typeName="GeoportalServices_DOC_Public_Conservation_Areas:DOC_Public_Conservation_Areas"
srsName="EPSG:3857">
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:Intersects>
<ogc:PropertyName>Shape</ogc:PropertyName>
<gml:Polygon xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:3857">
<gml:exterior>
<gml:LinearRing>
<gml:posList>18643941.585693926 -5719121.230581823 18643941.585693926 -5700303.481641977 18625123.836754076 -5700303.481641977 18625123.836754076 -5719121.230581823 18643941.585693926 -5719121.230581823</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</ogc:Intersects>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>

I get "<ows:ExceptionReport version='1.1.0' language='en' xmlns:ows='http://www.opengis.net/ows'><ows:Exception exceptionCode='NoApplicableCode'><ows:ExceptionText>Table called DOC_Public_Conservation_Areas wasn&apos;t found.</ows:ExceptionText></ows:Exception></ows:ExceptionReport>"

The name matches precisely the name in the GetCaps document. What is wrong with my request?
0 Kudos
0 Replies