[Geoserver-users] DescribeFeatureType - schema error

Hi List,
I’m just playing around with WFS requests and came across DescribeFeatureType;
when I do it on one of my GeoServer setups with this query:

http://wppgeog3/geoserver/ows?service=wfs&version=1.0.0&request=DescribeFeatureType&typeNames=Public_Data_DB:ONE_STOP_SHOPS_WSHIRE

I get an exception about a different layer:

java.io.IOException: Schema ‘http://www.warwickshire.gov.uk/public_data_db:POLICE_FORCE_AREAS’ does not exist. Schema ‘http://www.warwickshire.gov.uk/public_data_db:POLICE_FORCE_AREAS’ does not exist.

What does this error mean? Why is it even trying to access a different layer for the schema?

====

On the server it does work on, I can’t help but notice that the results for whether I include the typeNames parameter or not don’t change. Is that supposed to be the case? The documentation implies the results are meant to change and be layer specific.

Am I doing something wrong?

Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

Hi,

Perhaps it is a misleading error. You use WFS 1.0.0 and typeNames while it should be typeName with that version http://docs.geoserver.org/stable/en/user/services/wfs/reference.html. Can be something else, though.

-Jukka Rahkonen-

________________________________
Lähettäjä: Jonathan Moules [jonathanmoules@anonymised.com]
Lähetetty: 12. marraskuuta 2013 18:50
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: [Geoserver-users] DescribeFeatureType - schema error

Hi List,
I'm just playing around with WFS requests and came across DescribeFeatureType;
when I do it on one of my GeoServer setups with this query:

http://wppgeog3/geoserver/ows?service=wfs&version=1.0.0&request=DescribeFeatureType&typeNames=Public_Data_DB:ONE_STOP_SHOPS_WSHIRE

I get an exception about a different layer:
java.io.IOException: Schema 'http://www.warwickshire.gov.uk/public_data_db:POLICE_FORCE_AREAS’ does not exist. Schema 'http://www.warwickshire.gov.uk/public_data_db:POLICE_FORCE_AREAS’ does not exist.

What does this error mean? Why is it even trying to access a different layer for the schema?

====

On the server it does work on, I can't help but notice that the results for whether I include the typeNames parameter or not don't change. Is that supposed to be the case? The documentation implies the results are meant to change and be layer specific.

Am I doing something wrong?

Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.