AnsweredAssumed Answered

Filtering WFS service in 10.3

Question asked by nzmalc on Feb 15, 2015
Latest reply on May 6, 2015 by AAbdulwahab-esristaff

We currently have a WFS running on Server 10.2.2 which has a query run on it with a filter.

 

We have a new 10.3 server and have set up the WFS on the 10.3 server in exactly the same way as on the 10.2.2 server. The problem we are having is that the query that runs successfully on the WFS on 10.2.2 won't run on 10.3.

 

This is the query.

http://SERVER/arcgis/services/APP/WFS/MapServer/WFSServer?&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=type&FILTER=%3CFilter%20xmlns=%22http%3A//www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3EFIELD_NAME%3C/PropertyName%3E%3CLiteral%3E1111%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E

 

This returns

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows" version="1.1.0" language="en">

<ows:Exception exceptionCode="NoApplicableCode">

<ows:ExceptionText>

Xml Parsing failed. Reason:The
character '<' cannot be used in an attribute value. Linepos:11 Source:
filter="<Filter xmlns="http://www.opengis.net/ogc"><PropertyIsEqualTo><PropertyName>Asset_RID</PropertyName><Literal>1111</Literal></PropertyIsEqualTo></Filter>".

</ows:ExceptionText>

</ows:Exception>

</ows:ExceptionReport>

 

Query Decoded:

http://SERVER_10.3/arcgis/services/APP/WFS/MapServer/WFSServer?&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=type&FILTER=<Filter
xmlns="http://www.opengis.net/ogc"><PropertyIsEqualTo><PropertyName>FIELD_NAME</PropertyName><Literal>1111</Literal></PropertyIsEqualTo></Filter

 

Does anyone know if something has changed on 10.3 that would cause this query to stop working?

Outcomes