Dear community,

 

I have a received a message from an engineers office on a faulty wfs
filter request to get features from our GeoServer (Version 2.4.4):

 

The Request was:

 

POST http://www.list.smwa.sachsen.de/baustelleninfo/wfs
<http://www.list.smwa.sachsen.de/baustelleninfo/wfs> ? HTTP/1.1

Content-Type: text/xml;charset=UTF-8

User-Agent: Iwan WebMapServer (info:http://www.webmapserver.de/)
IDUGeolib/6.2.0 Build 145

Connection: Keep-Alive

Content-Length: 889

Host: www.list.smwa.sachsen.de <http://www.list.smwa.sachsen.de> 

Authorization: Basic U1BFUlJfU046IVNwM3IxNE4h

 

<?xml version='1.0' encoding='UTF-8'?><wfs:GetFeature version='1.1.0'
service='WFS'
xmlns:services='www.list.smwa.sachsen.de/baustelleninfo/services/'
xmlns='http://www.opengis.net/ogc'
xmlns:ogc='http://www.opengis.net/ogc'
xmlns:wfs='http://www.opengis.net/wfs'
xmlns:gml='http://www.opengis.net/gml'>

<wfs:Query typeName='services:Strassensperrungen_Aktuell'>

<wfs:PropertyName>services:geom</wfs:PropertyName>

<Filter>

<And>

<BBOX><ogc:PropertyName>services:geom</ogc:PropertyName><gml:Envelope
xmlns:gml='http://www.opengis.net/gml' srsName='EPSG:31468'>

<gml:lowerCorner>5674610.89993951 4623372.64610281</gml:lowerCorner>

<gml:upperCorner>5675455.82080778 4624530.12384099</gml:upperCorner>

</gml:Envelope></BBOX>

<PropertyIsEqualTo>

<ogc:PropertyName>services:Verwaltungskennziffer</ogc:PropertyName>

<Literal>0014627</Literal>

</PropertyIsEqualTo>

</And>

</Filter>

</wfs:Query>

</wfs:GetFeature> 

 

and the answer:

 

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows
<http://www.opengis.net/ows> "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
<http://www.w3.org/2001/XMLSchema-instance> " version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
http://www.list.smwa.sachsen.de:80/baustelleninfo/schemas/ows/1.0.0/owsE
xceptionReport.xsd
<http://www.opengis.net/ows%20http:/www.list.smwa.sachsen.de:80/baustell
eninfo/schemas/ows/1.0.0/owsExceptionReport.xsd> ">

<ows:Exception exceptionCode="InvalidParameterValue">

<ows:ExceptionText>Invalid request

cvc-pattern-valid: Value 'services:Strassensperrungen_Aktuell' is not
facet-valid with respect to pattern '((\w:)?\w(=\w)?){1,}' for type
'TypeNameListType'.

cvc-attribute.3: The value 'services:Strassensperrungen_Aktuell' of
attribute 'typeName' on element 'wfs:Query' is not valid with respect to
its type,
'TypeNameListType'.</ows:ExceptionText><ows:ExceptionText>cvc-pattern-va
lid: Value 'services:Strassensperrungen_Aktuell' is not facet-valid with
respect to pattern '((\w:)?\w(=\w)?){1,}' for type
'TypeNameListType'.</ows:ExceptionText><ows:ExceptionText>cvc-attribute.
3: The value 'services:Strassensperrungen_Aktuell' of attribute
'typeName' on element 'wfs:Query' is not valid with respect to its type,
'TypeNameListType'.</ows:ExceptionText></ows:Exception></ows:ExceptionRe
port>

 

Does anyone know why this Post-request fails?

 

Thanks in advance!

Stephan

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to