Hi all, 

I have a question regarding the GetGMLObject-Request for Web Feature Service 
Version 1.1.0. I have tested this request on GeoServer 2.0.1 and 2.1.1 and 
always get the exception "No such object found". 

I inserted a shapefile with ESRI Shapefile store and published this layer and 
then posted (HTTP POST) following request to following url: 
http://argon.geogr.uni-jena.de:8080/geoserver/wfs 

<wfs:GetGmlObject xmlns:gml=" http://www.opengis.net/gml " xmlns:wfs=" 
http://www.opengis.net/wfs " xmlns:ogc=" http://www.opengis.net/ogc " 
version="1.1.0" service="WFS"> 
<ogc:GmlObjectId gml:id="agricult_pred_crop.12"></ogc:GmlObjectId> 
</wfs:GetGmlObject> 

The response is: 
<?xml version="1.0" encoding="UTF-8"?> 
<ows:ExceptionReport version="1.0.0" 
xsi:schemaLocation="http://www.opengis.net/ows 
http://argon.geogr.uni-jena.de:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd";
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ows="http://www.opengis.net/ows";> 
<ows:Exception exceptionCode="NoApplicableCode"> 
<ows:ExceptionText>No such object: agricult_pred_crop.12</ows:ExceptionText> 
</ows:Exception> 
</ows:ExceptionReport> 

If I use following HTTP GET Request via getFeature it works fine: 
http://argon.geogr.uni-jena.de:8080/geoserver/ows?service=WFS&version=1.1.0&request=getFeature&typeName=ialr:agricult_pred_crop&FeatureID=agricult_pred_crop.12&outputFormat=GML3&srsName=EPSG:4326
 

I tested this also with other data with Shapefile store and postgis store but 
the error was the same. Do you have any hints how I can solve this problem? The 
logfile says that the exception is raised in 
org/geoserver/wfs/GetGmlObject.java. 

Thanks in advance, 
Jonas 
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to