Dear list,

I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by 
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.

It responded with an error:
Error occurred getting features
http://myserver.uni-hohenheim.de/XSD:Fertilization not found. Available:
[http://myserver.uni-hohenheim.de/XSD:Crop]

I suspect the error in the mapping:
...
    <typeMappings>
        <FeatureTypeMapping>
            <sourceDataStore>datastoreshp</sourceDataStore>
            <sourceType>Fertilization</sourceType>
            <targetElement>fmis:Crop</targetElement>
            <attributeMappings>
                <AttributeMapping>
                    <targetAttribute>
                        fmis:Fertilization
                    </targetAttribute>
                    <idExpression>
                        <OCQL>ID</OCQL>
                    </idExpression>
                </AttributeMapping>
...

"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".

Do you have an idea what is causing this behaviour?

Best
Markus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to